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
337D
Book of Evil
dfs and similar
,
divide and conquer
,
dp
,
trees
2000
x5765
1534D
Lost Tree
constructive algorithms
,
interactive
,
trees
1800
x5746
1057A
Bmail Computer Network
*special problem
,
dfs and similar
,
trees
900
x5733
1720D1
Xor-Subsequence (easy version)
bitmasks
,
brute force
,
dp
,
strings
,
trees
,
two pointers
1800
x5696
959C
Mahmoud and Ehab and the wrong algorithm
constructive algorithms
,
trees
1500
x5669
1399E1
Weights Division (easy version)
data structures
,
dfs and similar
,
greedy
,
trees
2000
x5659
455B
A Lot of Games
dfs and similar
,
dp
,
games
,
implementation
,
strings
,
trees
1900
x5634
1056D
Decorate Apple Tree
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
1600
x5610
698B
Fix a Tree
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
trees
1700
x5600
1118F1
Tree Cutting (Easy Version)
dfs and similar
,
trees
1800
x5538
501C
Misha and Forest
constructive algorithms
,
data structures
,
greedy
,
sortings
,
trees
1500
x5501
1895D
XOR Construction
bitmasks
,
constructive algorithms
,
data structures
,
math
,
string suffix structures
,
trees
1900
x5500
1822F
Gardening Friends
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x5499
1454E
Number of Simple Paths
combinatorics
,
dfs and similar
,
graphs
,
trees
2000
x5487
886C
Petya and Catacombs
dsu
,
greedy
,
implementation
,
trees
1300
x5421
343D
Water Tree
data structures
,
dfs and similar
,
graphs
,
trees
2100
x5380
1294F
Three Paths on a Tree
dfs and similar
,
dp
,
greedy
,
trees
2000
x5329
461B
Appleman and Tree
dfs and similar
,
dp
,
trees
2000
x5296
1085D
Minimum Diameter Tree
constructive algorithms
,
implementation
,
trees
1700
x5279
371D
Vessels
data structures
,
dsu
,
implementation
,
trees
1800
x5274
1851F
Lisa and the Martians
bitmasks
,
greedy
,
math
,
strings
,
trees
1800
x5233
1083A
The Fair Nut and the Best Path
data structures
,
dp
,
trees
1800
x5174
620E
New Year Tree
bitmasks
,
data structures
,
trees
2100
x5129
455C
Civilization
dfs and similar
,
dp
,
dsu
,
ternary search
,
trees
2100
x5111
981C
Useful Decomposition
implementation
,
trees
1400
x5106
796D
Police Stations
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
,
trees
2100
x5103
1702G1
Passable Paths (easy version)
dfs and similar
,
trees
1900
x5071
1009F
Dominant Indices
data structures
,
dsu
,
trees
2300
x5058
901A
Hashing Trees
constructive algorithms
,
trees
1500
x5003
1675F
Vlad and Unfinished Business
dfs and similar
,
dp
,
greedy
,
trees
1800
x4980
472D
Design Tutorial: Inverse the Problem
dfs and similar
,
dsu
,
shortest paths
,
trees
1900
x4979
1843F1
Omsk Metro (simple version)
data structures
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
1800
x4930
1882D
Tree XOR
bitmasks
,
dfs and similar
,
dp
,
greedy
,
trees
1900
x4903
274B
Zero Tree
dfs and similar
,
dp
,
greedy
,
trees
1800
x4880
1833G
Ksyusha and Chinchilla
constructive algorithms
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
1800
x4873
1856E1
PermuTree (easy version)
dfs and similar
,
dp
,
trees
1800
x4853
1739D
Reset K Edges
binary search
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x4836
1304E
1-Trees and Queries
data structures
,
dfs and similar
,
shortest paths
,
trees
2000
x4836
1153D
Serval and Rooted Tree
binary search
,
dfs and similar
,
dp
,
greedy
,
trees
1900
x4739
1305D
Kuroni and the Celebration
constructive algorithms
,
dfs and similar
,
interactive
,
trees
1900
x4699
739B
Alyona and a tree
binary search
,
data structures
,
dfs and similar
,
graphs
,
trees
1900
x4415
1746D
Paths on the Tree
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1900
x4402
1101D
GCD Counting
data structures
,
dfs and similar
,
dp
,
number theory
,
trees
2000
x4387
1286B
Numbers on Tree
constructive algorithms
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
trees
1800
x4375
1824B1
LuoTianyi and the Floating Islands (Easy Version)
combinatorics
,
math
,
probabilities
,
trees
1800
x4296
14D
Two Paths
dfs and similar
,
dp
,
graphs
,
shortest paths
,
trees
,
two pointers
1900
x4288
507C
Guess Your Way Out!
implementation
,
math
,
trees
1700
x4273
1702G2
Passable Paths (hard version)
data structures
,
dfs and similar
,
trees
2000
x4258
802J
Send the Fool Further! (easy)
dfs and similar
,
graphs
,
trees
1400
x4250
743D
Chloe and pleasant prizes
dfs and similar
,
dp
,
graphs
,
trees
1800
x4240
877E
Danil and a Part-time Job
bitmasks
,
data structures
,
trees
2000
x4223
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4154
923C
Perfect Security
data structures
,
greedy
,
strings
,
trees
1800
x4141
1740E
Hanging Hearts
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
greedy
,
trees
1800
x4086
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4065
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x4033
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4008
1566E
Buds Re-hanging
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2000
x4006
767C
Garland
dfs and similar
,
graphs
,
greedy
,
trees
2000
x3941
1000E
We Need More Bosses
dfs and similar
,
graphs
,
trees
2100
x3899
1555E
Boring Segments
data structures
,
sortings
,
trees
,
two pointers
2100
x3850
486D
Valid Sets
dfs and similar
,
dp
,
math
,
trees
2100
x3844
193A
Cutting Figure
constructive algorithms
,
graphs
,
trees
1700
x3823
700B
Connecting Universities
dfs and similar
,
dp
,
graphs
,
trees
1800
x3764
685B
Kay and Snowflake
data structures
,
dfs and similar
,
dp
,
trees
1900
x3757
734E
Anton and Tree
dfs and similar
,
dp
,
trees
2100
x3730
1172B
Nauuo and Circle
combinatorics
,
dfs and similar
,
dp
,
trees
1900
x3713
1902E
Collapsing Strings
data structures
,
strings
,
trees
1900
x3689
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3680
1797D
Li Hua and Tree
brute force
,
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1900
x3670
587C
Duff in the Army
data structures
,
trees
2200
x3663
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x3661
1827B1
Range Sorting (Easy Version)
binary search
,
dp
,
dsu
,
greedy
,
trees
,
two pointers
2000
x3629
1611E2
Escape The Maze (hard version)
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1900
x3623
1914F
Programming Competition
dfs and similar
,
dp
,
graph matchings
,
greedy
,
trees
1900
x3605
1076E
Vasya and a Tree
data structures
,
trees
1900
x3595
832D
Misha, Grisha and Underground
dfs and similar
,
graphs
,
trees
1900
x3588
690C2
Brain Network (medium)
dfs and similar
,
graphs
,
trees
1500
x3566
675D
Tree Construction
data structures
,
trees
1800
x3557
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3554
1726D
Edge Split
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
probabilities
,
trees
2000
x3524
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3523
1646D
Weight the Tree
constructive algorithms
,
dfs and similar
,
dp
,
implementation
,
trees
2000
x3517
120F
Spiders
dp
,
greedy
,
trees
1400
x3497
280C
Game on Tree
implementation
,
math
,
probabilities
,
trees
2200
x3448
827B
High Load
constructive algorithms
,
greedy
,
implementation
,
trees
1800
x3433
842C
Ilya And The Tree
dfs and similar
,
graphs
,
math
,
number theory
,
trees
2000
x3403
1446C
Xor Tree
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
dp
,
trees
2100
x3378
696B
Puzzles
dfs and similar
,
math
,
probabilities
,
trees
1700
x3373
282E
Sausage Maximization
bitmasks
,
data structures
,
trees
2200
x3339
1891F
A Growing Tree
data structures
,
dfs and similar
,
trees
2000
x3333
1738D
Permutation Addicts
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
trees
1900
x3307
1774E
Two Chess Pieces
dfs and similar
,
dp
,
greedy
,
trees
1900
x3298
1025D
Recovering BST
brute force
,
dp
,
math
,
number theory
,
trees
2100
x3294
1656E
Equal Tree Sums
constructive algorithms
,
dfs and similar
,
math
,
trees
2200
x3273
1210C
Kamil and Making a Stream
math
,
number theory
,
trees
2000
x3200
1777D
Score of a Tree
bitmasks
,
combinatorics
,
dfs and similar
,
dp
,
math
,
probabilities
,
trees
1900
x3186
109C
Lucky Tree
dp
,
dsu
,
trees
1900
x3180
1175E
Minimal Segment Cover
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
implementation
,
trees
2200
x3168
1682D
Circular Spanning Tree
constructive algorithms
,
implementation
,
trees
2000
x3159
←
1
2
3
4
...
7
8
→
User lists
Name