Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2) and CodeCraft-23
2 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
trees
combine-tags-by-or
*combine tags by OR
2-sat
binary search
bitmasks
brute force
chinese remainder theorem
combinatorics
constructive algorithms
data structures
dfs and similar
divide and conquer
dp
dsu
expression parsing
fft
flows
games
geometry
graph matchings
graphs
greedy
hashing
implementation
interactive
math
matrices
meet-in-the-middle
number theory
probabilities
schedules
shortest paths
sortings
string suffix structures
strings
ternary search
trees
two pointers
Add tag
Main
acmsguru
|
Problems
Submit
Status
Standings
Custom test
Problems
#
Name
1858E2
Rollbacks (Hard Version)
data structures
,
interactive
,
trees
2600
x996
917D
Stranger Trees
dp
,
math
,
matrices
,
trees
2600
x996
724G
Xor-matic Number of the Graph
bitmasks
,
graphs
,
math
,
number theory
,
trees
2600
x989
1580B
Mathematics Curriculum
brute force
,
combinatorics
,
dp
,
trees
2600
x961
442D
Adam and Tree
data structures
,
trees
2600
x944
1437G
Death DBMS
data structures
,
string suffix structures
,
strings
,
trees
2600
x935
372D
Choosing Subtree is Fun
binary search
,
data structures
,
dfs and similar
,
trees
,
two pointers
2600
x905
633F
The Chocolate Spree
dfs and similar
,
dp
,
graphs
,
trees
2600
x897
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x856
1696F
Tree Recovery
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
trees
2600
x836
1340D
Nastya and Time Machine
constructive algorithms
,
dfs and similar
,
graphs
,
trees
2600
x796
627D
Preorder Test
binary search
,
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
2600
x793
1016F
Road Projects
dfs and similar
,
dp
,
trees
2600
x771
1823F
Random Walk
dp
,
graphs
,
math
,
probabilities
,
trees
2600
x764
1680F
Lenient Vertex Cover
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x622
1486F
Pairs of Paths
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2600
x619
599E
Sandy and Nuts
bitmasks
,
dp
,
trees
2600
x614
1762E
Tree Sum
combinatorics
,
math
,
trees
2600
x596
1778F
Maximizing Root
dfs and similar
,
dp
,
graphs
,
math
,
number theory
,
trees
2600
x594
607D
Power Tree
data structures
,
trees
2600
x551
1657F
Words on Tree
2-sat
,
dfs and similar
,
dsu
,
graphs
,
trees
2600
x543
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x537
754E
Dasha and cyclic table
bitmasks
,
brute force
,
fft
,
strings
,
trees
2600
x478
758E
Broken Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
2600
x437
955F
Heaps
dp
,
trees
2600
x344
843C
Upgrading Tree
constructive algorithms
,
dfs and similar
,
graphs
,
math
,
trees
2600
x344
1575E
Eye-Pleasing City Park Tour
data structures
,
trees
2600
x300
1402C
Star Trek
*special problem
,
combinatorics
,
dfs and similar
,
dp
,
games
,
graphs
,
matrices
,
trees
2600
x195
1045J
Moonwalk challenge
data structures
,
strings
,
trees
2600
x159
715C
Digit Tree
dfs and similar
,
divide and conquer
,
dsu
,
trees
2700
x1902
1856E2
PermuTree (hard version)
bitmasks
,
dfs and similar
,
dp
,
fft
,
greedy
,
implementation
,
math
,
trees
2700
x1297
293E
Close Vertices
data structures
,
divide and conquer
,
trees
2700
x1262
1370F2
The Hidden Pair (Hard Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2700
x1228
1149C
Tree Generator™
data structures
,
implementation
,
trees
2700
x1160
1254D
Tree Queries
data structures
,
probabilities
,
trees
2700
x1119
995F
Cowmpany Cowmpensation
combinatorics
,
dp
,
math
,
trees
2700
x1116
827D
Best Edge Weight
data structures
,
dfs and similar
,
graphs
,
trees
2700
x1053
1207G
Indie Album
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
2700
x943
1632E2
Distance Tree (hard version)
binary search
,
dfs and similar
,
shortest paths
,
trees
2700
x923
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x917
1034C
Region Separation
combinatorics
,
dp
,
number theory
,
trees
2700
x843
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x826
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x826
1519E
Off by One
constructive algorithms
,
dfs and similar
,
geometry
,
graphs
,
sortings
,
trees
2700
x797
1887D
Split
binary search
,
data structures
,
divide and conquer
,
dsu
,
math
,
trees
,
two pointers
2700
x794
1338D
Nested Rubber Bands
constructive algorithms
,
dfs and similar
,
dp
,
math
,
trees
2700
x794
1292D
Chaotic V.
dp
,
graphs
,
greedy
,
math
,
number theory
,
trees
2700
x770
1179D
Fedor Runs for President
data structures
,
dp
,
trees
2700
x744
444E
DZY Loves Planting
binary search
,
dsu
,
trees
2700
x740
1781F
Bracket Insertion
combinatorics
,
dp
,
math
,
trees
2700
x727
1303G
Sum of Prefix Sums
data structures
,
divide and conquer
,
geometry
,
trees
2700
x712
1849F
XOR Partition
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
greedy
,
trees
2700
x619
1205D
Almost All
constructive algorithms
,
trees
2700
x611
643E
Bear and Destroying Subtrees
dp
,
math
,
probabilities
,
trees
2700
x578
864F
Cities Excursions
dfs and similar
,
graphs
,
trees
2700
x576
1682E
Unordered Swaps
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
math
,
sortings
,
trees
2700
x557
1000G
Two-Paths
data structures
,
dp
,
trees
2700
x549
482D
Random Function and Tree
combinatorics
,
dp
,
trees
2700
x519
494D
Birthday
data structures
,
dfs and similar
,
dp
,
trees
2700
x511
1118F2
Tree Cutting (Hard Version)
combinatorics
,
dfs and similar
,
dp
,
trees
2700
x499
1260F
Colored Tree
data structures
,
trees
2700
x476
70E
Information Reform
dp
,
implementation
,
trees
2700
x475
1452G
Game On Tree
data structures
,
dfs and similar
,
greedy
,
trees
2700
x450
1140G
Double Tree
data structures
,
divide and conquer
,
shortest paths
,
trees
2700
x446
868E
Policeman and a Tree
dp
,
graphs
,
trees
2700
x445
860E
Arkady and a Nobody-men
data structures
,
dfs and similar
,
trees
2700
x418
724F
Uniformly Branched Trees
combinatorics
,
dp
,
trees
2700
x386
812D
Sagheer and Kindergarten
dfs and similar
,
graphs
,
implementation
,
trees
2700
x325
81E
Pairs
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
2700
x322
48G
Galaxy Union
dp
,
trees
,
two pointers
2700
x251
42E
Baldman and the military
dfs and similar
,
graphs
,
trees
2700
x186
690F2
Tree of Life (medium)
constructive algorithms
,
hashing
,
trees
2700
x76
613D
Kingdom and its Cities
dfs and similar
,
divide and conquer
,
dp
,
graphs
,
sortings
,
trees
2800
x2635
555E
Case of Computer Network
dfs and similar
,
graphs
,
trees
2800
x2176
547E
Mike and Friends
data structures
,
string suffix structures
,
strings
,
trees
2800
x1928
1375G
Tree Modification
brute force
,
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
trees
2800
x1636
1039D
You Are Given a Tree
data structures
,
dp
,
trees
2800
x1632
163E
e-Government
data structures
,
dfs and similar
,
dp
,
strings
,
trees
2800
x1504
516D
Drazil and Morning Exercise
dfs and similar
,
dp
,
dsu
,
trees
,
two pointers
2800
x1219
983E
NN country
binary search
,
data structures
,
trees
2800
x865
1394D
Boboniu and Jianghu
dp
,
greedy
,
sortings
,
trees
2800
x801
830D
Singer House
combinatorics
,
dp
,
graphs
,
trees
2800
x793
620F
Xors on Segments
data structures
,
strings
,
trees
2800
x696
1413F
Roads and Ramen
data structures
,
trees
2800
x695
986E
Prince's Problem
brute force
,
data structures
,
math
,
number theory
,
trees
2800
x695
1827D
Two Centroids
data structures
,
dfs and similar
,
greedy
,
trees
2800
x691
1830D
Mex Tree
brute force
,
dp
,
trees
2800
x577
1625E2
Cats on the Upgrade (hard version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
trees
2800
x574
51F
Caterpillar
dfs and similar
,
dp
,
graphs
,
trees
2800
x544
1810F
M-tree
data structures
,
math
,
sortings
,
trees
2800
x527
1606F
Tree Queries
brute force
,
dp
,
trees
2800
x509
1088F
Ehab and a weird weight formula
data structures
,
trees
2800
x487
1749F
Distance to the Path
data structures
,
dfs and similar
,
trees
2800
x466
418D
Big Problems for Organizers
data structures
,
graphs
,
trees
2800
x465
750F
New Year and Finding Roots
constructive algorithms
,
implementation
,
interactive
,
trees
2800
x460
348E
Pilgrims
dfs and similar
,
dp
,
trees
2800
x425
1067E
Random Forest Rank
dp
,
graph matchings
,
math
,
trees
2800
x419
776F
Sherlock's bet to Moriarty
constructive algorithms
,
data structures
,
divide and conquer
,
geometry
,
graphs
,
implementation
,
trees
2800
x409
1783G
Weighed Tree Radius
data structures
,
divide and conquer
,
implementation
,
trees
2800
x404
1082F
Speed Dial
dp
,
strings
,
trees
2800
x397
←
1
2
...
4
5
6
7
8
→
User lists
Name