Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 953 (Div. 2)
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
1192B
Dynamic Diameter
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
trees
x1034
1188A2
Add on a Tree: Revolution
constructive algorithms
,
dfs and similar
,
implementation
,
trees
2500
x1214
1188A1
Add on a Tree
trees
1600
x8316
1187E
Tree Painting
dfs and similar
,
dp
,
trees
2100
x7723
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x495
1184E2
Daleks' Invasion (medium)
dfs and similar
,
graphs
,
shortest paths
,
trees
2100
x909
1184E1
Daleks' Invasion (easy)
graphs
,
trees
1900
x1571
1182D
Complete Mirror
constructive algorithms
,
dfs and similar
,
dp
,
hashing
,
implementation
,
trees
2400
x808
1181D
Irrigation
binary search
,
data structures
,
implementation
,
sortings
,
trees
,
two pointers
2200
x2092
1179D
Fedor Runs for President
data structures
,
dp
,
trees
2700
x785
1179C
Serge and Dining Room
binary search
,
data structures
,
graph matchings
,
greedy
,
implementation
,
math
,
trees
2200
x1973
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10582
1175E
Minimal Segment Cover
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
implementation
,
trees
2200
x3223
1174F
Ehab and the Big Finale
constructive algorithms
,
divide and conquer
,
graphs
,
implementation
,
interactive
,
trees
2400
x1466
1172B
Nauuo and Circle
combinatorics
,
dfs and similar
,
dp
,
trees
1900
x3785
1168D
Anagram Paths
dp
,
implementation
,
trees
3000
x339
1158E
Strange device
binary search
,
interactive
,
math
,
trees
3400
x148
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3729
1153D
Serval and Rooted Tree
binary search
,
dfs and similar
,
dp
,
greedy
,
trees
1900
x4855
1152D
Neko and Aki's Prank
dp
,
greedy
,
trees
2100
x2379
1149C
Tree Generator™
data structures
,
implementation
,
trees
2700
x1182
1146F
Leaf Partition
dp
,
trees
2500
x1097
1143C
Queen
dfs and similar
,
trees
1400
x11604
1142B
Lynyrd Skynyrd
data structures
,
dfs and similar
,
dp
,
math
,
trees
2000
x2801
1141G
Privatization of Roads in Treeland
binary search
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x2201
1140G
Double Tree
data structures
,
divide and conquer
,
shortest paths
,
trees
2700
x468
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x12136
1137F
Matches Are Not a Child's Play
data structures
,
trees
3400
x463
1132G
Greedy Subsequences
data structures
,
dp
,
trees
2400
x967
1129E
Legendary Tree
binary search
,
interactive
,
trees
3100
x418
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1278
1119F
Niyaz and Small Degrees
data structures
,
dp
,
trees
3400
x680
1118F2
Tree Cutting (Hard Version)
combinatorics
,
dfs and similar
,
dp
,
trees
2700
x523
1118F1
Tree Cutting (Easy Version)
dfs and similar
,
trees
1800
x5746
1111E
Tree
data structures
,
dfs and similar
,
dp
,
graphs
,
trees
2500
x860
1110G
Tree-Tac-Toe
constructive algorithms
,
games
,
trees
3100
x610
1110F
Nearest Leaf
data structures
,
trees
2600
x1684
1109F
Sasha and Algorithm of Silence's Sounds
data structures
,
trees
3200
x288
1109D
Sasha and Interesting Fact from Graph Theory
brute force
,
combinatorics
,
dp
,
math
,
trees
2400
x1273
1101D
GCD Counting
data structures
,
dfs and similar
,
dp
,
number theory
,
trees
2000
x4461
1099F
Cookies
binary search
,
data structures
,
dfs and similar
,
dp
,
games
,
trees
2400
x910
1098C
Construct a tree
binary search
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2400
x872
1098A
Sum in the tree
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1600
x8452
1097G
Vladislav and a Great Legend
combinatorics
,
dp
,
trees
3000
x688
1092F
Tree with Maximum Cost
dfs and similar
,
dp
,
trees
1900
x7395
1092E
Minimal Diameter Forest
constructive algorithms
,
dfs and similar
,
greedy
,
trees
2000
x1634
1088F
Ehab and a weird weight formula
data structures
,
trees
2800
x493
1088E
Ehab and a component choosing problem
dp
,
greedy
,
math
,
trees
2400
x1410
1085D
Minimum Diameter Tree
constructive algorithms
,
implementation
,
trees
1700
x5315
1083C
Max Mex
data structures
,
trees
2900
x848
1083A
The Fair Nut and the Best Path
data structures
,
dp
,
trees
1800
x5243
1082F
Speed Dial
dp
,
strings
,
trees
2800
x412
1076E
Vasya and a Tree
data structures
,
trees
1900
x3635
1073F
Choosing Two Paths
dfs and similar
,
dp
,
greedy
,
trees
2500
x525
1067E
Random Forest Rank
dp
,
graph matchings
,
math
,
trees
2800
x429
1065F
Up and Down the Tree
dfs and similar
,
dp
,
trees
2500
x1145
1062E
Company
binary search
,
data structures
,
dfs and similar
,
greedy
,
trees
2300
x1724
1060E
Sergey and Subway
dfs and similar
,
dp
,
trees
2000
x3009
1059E
Split the Tree
binary search
,
data structures
,
dp
,
greedy
,
trees
2400
x1362
1057A
Bmail Computer Network
*special problem
,
dfs and similar
,
trees
900
x5825
1056D
Decorate Apple Tree
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
1600
x5721
1055F
Tree and XOR
strings
,
trees
2900
x451
1053E
Euler tour
constructive algorithms
,
trees
3500
x197
1051F
The Shortest Statement
graphs
,
shortest paths
,
trees
2400
x2701
1045J
Moonwalk challenge
data structures
,
strings
,
trees
2600
x166
1045D
Interstellar battle
math
,
probabilities
,
trees
2200
x641
1045C
Hyperspace Highways
dfs and similar
,
graphs
,
trees
2300
x651
1045A
Last chance
data structures
,
flows
,
graph matchings
,
graphs
,
trees
2500
x324
1044B
Intersecting Subtrees
dfs and similar
,
interactive
,
trees
1900
x1552
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1245
1039D
You Are Given a Tree
data structures
,
dp
,
trees
2800
x1661
1037D
Valid BFS?
dfs and similar
,
graphs
,
shortest paths
,
trees
1700
x14028
1034C
Region Separation
combinatorics
,
dp
,
number theory
,
trees
2700
x862
1032F
Vasya and Maximum Matching
dp
,
trees
2400
x905
1025D
Recovering BST
brute force
,
dp
,
math
,
number theory
,
trees
2100
x3376
1023G
Pisces
data structures
,
flows
,
trees
3400
x114
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x865
1019E
Raining season
data structures
,
divide and conquer
,
trees
3200
x329
1016F
Road Projects
dfs and similar
,
dp
,
trees
2600
x783
1010F
Tree
fft
,
graphs
,
trees
3400
x212
1010D
Mars rover
dfs and similar
,
graphs
,
implementation
,
trees
2000
x2357
1009F
Dominant Indices
data structures
,
dsu
,
trees
2300
x5189
1007D
Ants
2-sat
,
data structures
,
trees
3200
x258
1006E
Military Problem
dfs and similar
,
graphs
,
trees
1600
x9518
1004E
Sonya and Ice Cream
binary search
,
data structures
,
dp
,
greedy
,
shortest paths
,
trees
2400
x1015
1000G
Two-Paths
data structures
,
dp
,
trees
2700
x566
1000E
We Need More Bosses
dfs and similar
,
graphs
,
trees
2100
x4133
997D
Cycles in product
combinatorics
,
divide and conquer
,
trees
2900
x427
995F
Cowmpany Cowmpensation
combinatorics
,
dp
,
math
,
trees
2700
x1169
990G
GCD Counting
divide and conquer
,
dp
,
dsu
,
number theory
,
trees
2400
x1742
990F
Flow Control
dfs and similar
,
dp
,
greedy
,
trees
2400
x874
986E
Prince's Problem
brute force
,
data structures
,
math
,
number theory
,
trees
2800
x708
983E
NN country
binary search
,
data structures
,
trees
2800
x890
982D
Shark
brute force
,
data structures
,
dsu
,
trees
1900
x2264
982C
Cut 'em all!
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
1500
x10964
981C
Useful Decomposition
implementation
,
trees
1400
x5217
980F
Cactus to Tree
dp
,
graphs
,
trees
2900
x193
980E
The Number Games
data structures
,
greedy
,
trees
2200
x1880
979D
Kuro and GCD and XOR and SUM
binary search
,
bitmasks
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
math
,
number theory
,
strings
,
trees
2200
x1707
979C
Kuro and Walking Route
dfs and similar
,
trees
1600
x6105
←
1
2
3
4
5
6
7
8
→
User lists
Name