Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 964 (Div. 4)
12:07:00
Register now »
→ 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
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x563
1214H
Tiles Placement
constructive algorithms
,
dfs and similar
,
trees
2800
x379
1214E
Petya and Construction Set
constructive algorithms
,
graphs
,
math
,
sortings
,
trees
2000
x2667
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x7059
1211H
Road Repair in Treeland
*special problem
,
binary search
,
dp
,
trees
3100
x45
1211G
King's Path
*special problem
,
math
,
trees
2500
x70
1210C
Kamil and Making a Stream
math
,
number theory
,
trees
2000
x3298
1209F
Koala and Notebook
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
strings
,
trees
2600
x1119
1208H
Red Blue Tree
data structures
,
implementation
,
trees
3500
x147
1207G
Indie Album
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
2700
x994
1205D
Almost All
constructive algorithms
,
trees
2700
x635
1193B
Magic Tree
*special problem
,
data structures
,
dp
,
trees
x428
1192B
Dynamic Diameter
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
trees
x1122
1188A2
Add on a Tree: Revolution
constructive algorithms
,
dfs and similar
,
implementation
,
trees
2500
x1219
1188A1
Add on a Tree
trees
1600
x8355
1187E
Tree Painting
dfs and similar
,
dp
,
trees
2100
x8013
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x502
1184E2
Daleks' Invasion (medium)
dfs and similar
,
graphs
,
shortest paths
,
trees
2100
x923
1184E1
Daleks' Invasion (easy)
graphs
,
trees
1900
x1594
1182D
Complete Mirror
constructive algorithms
,
dfs and similar
,
dp
,
hashing
,
implementation
,
trees
2400
x821
1181D
Irrigation
binary search
,
data structures
,
implementation
,
sortings
,
trees
,
two pointers
2200
x2328
1179D
Fedor Runs for President
data structures
,
dp
,
trees
2700
x805
1179C
Serge and Dining Room
binary search
,
data structures
,
graph matchings
,
greedy
,
implementation
,
math
,
trees
2200
x2004
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10834
1175E
Minimal Segment Cover
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
implementation
,
trees
2200
x3500
1174F
Ehab and the Big Finale
constructive algorithms
,
divide and conquer
,
graphs
,
implementation
,
interactive
,
trees
2400
x1689
1172B
Nauuo and Circle
combinatorics
,
dfs and similar
,
dp
,
trees
1900
x3992
1168D
Anagram Paths
dp
,
implementation
,
trees
3000
x343
1158E
Strange device
binary search
,
interactive
,
math
,
trees
3400
x150
1156D
0-1-Tree
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2200
x3808
1153D
Serval and Rooted Tree
binary search
,
dfs and similar
,
dp
,
greedy
,
trees
1900
x4903
1152D
Neko and Aki's Prank
dp
,
greedy
,
trees
2100
x2396
1149C
Tree Generator™
data structures
,
implementation
,
trees
2700
x1202
1146F
Leaf Partition
dp
,
trees
2500
x1144
1143C
Queen
dfs and similar
,
trees
1400
x11964
1142B
Lynyrd Skynyrd
data structures
,
dfs and similar
,
dp
,
math
,
trees
2000
x2888
1141G
Privatization of Roads in Treeland
binary search
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x2238
1140G
Double Tree
data structures
,
divide and conquer
,
shortest paths
,
trees
2700
x479
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x12360
1137F
Matches Are Not a Child's Play
data structures
,
trees
3400
x466
1132G
Greedy Subsequences
data structures
,
dp
,
trees
2400
x998
1129E
Legendary Tree
binary search
,
interactive
,
trees
3100
x423
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1312
1119F
Niyaz and Small Degrees
data structures
,
dp
,
trees
3400
x700
1118F2
Tree Cutting (Hard Version)
combinatorics
,
dfs and similar
,
dp
,
trees
2700
x529
1118F1
Tree Cutting (Easy Version)
dfs and similar
,
trees
1800
x5838
1111E
Tree
data structures
,
dfs and similar
,
dp
,
graphs
,
trees
2500
x897
1110G
Tree-Tac-Toe
constructive algorithms
,
games
,
trees
3100
x614
1110F
Nearest Leaf
data structures
,
trees
2600
x1705
1109F
Sasha and Algorithm of Silence's Sounds
data structures
,
trees
3200
x290
1109D
Sasha and Interesting Fact from Graph Theory
brute force
,
combinatorics
,
dp
,
math
,
trees
2400
x1316
1101D
GCD Counting
data structures
,
dfs and similar
,
dp
,
number theory
,
trees
2000
x4520
1099F
Cookies
binary search
,
data structures
,
dfs and similar
,
dp
,
games
,
trees
2400
x917
1098C
Construct a tree
binary search
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2400
x1065
1098A
Sum in the tree
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1600
x8681
1097G
Vladislav and a Great Legend
combinatorics
,
dp
,
trees
3000
x696
1092F
Tree with Maximum Cost
dfs and similar
,
dp
,
trees
1900
x7746
1092E
Minimal Diameter Forest
constructive algorithms
,
dfs and similar
,
greedy
,
trees
2000
x1674
1088F
Ehab and a weird weight formula
data structures
,
trees
2800
x507
1088E
Ehab and a component choosing problem
dp
,
greedy
,
math
,
trees
2400
x1463
1085D
Minimum Diameter Tree
constructive algorithms
,
implementation
,
trees
1700
x5388
1083C
Max Mex
data structures
,
trees
2900
x863
1083A
The Fair Nut and the Best Path
data structures
,
dp
,
trees
1800
x5335
1082F
Speed Dial
dp
,
strings
,
trees
2800
x415
1076E
Vasya and a Tree
data structures
,
trees
1900
x3665
1073F
Choosing Two Paths
dfs and similar
,
dp
,
greedy
,
trees
2500
x531
1067E
Random Forest Rank
dp
,
graph matchings
,
math
,
trees
2800
x435
1065F
Up and Down the Tree
dfs and similar
,
dp
,
trees
2500
x1156
1062E
Company
binary search
,
data structures
,
dfs and similar
,
greedy
,
trees
2300
x1749
1060E
Sergey and Subway
dfs and similar
,
dp
,
trees
2000
x3105
1059E
Split the Tree
binary search
,
data structures
,
dp
,
greedy
,
trees
2400
x1377
1057A
Bmail Computer Network
*special problem
,
dfs and similar
,
trees
900
x5935
1056D
Decorate Apple Tree
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
1600
x5789
1055F
Tree and XOR
strings
,
trees
2900
x457
1053E
Euler tour
constructive algorithms
,
trees
3500
x199
1051F
The Shortest Statement
graphs
,
shortest paths
,
trees
2400
x2779
1045J
Moonwalk challenge
data structures
,
strings
,
trees
2600
x169
1045D
Interstellar battle
math
,
probabilities
,
trees
2200
x664
1045C
Hyperspace Highways
dfs and similar
,
graphs
,
trees
2300
x688
1045A
Last chance
data structures
,
flows
,
graph matchings
,
graphs
,
trees
2500
x528
1044B
Intersecting Subtrees
dfs and similar
,
interactive
,
trees
1900
x1560
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1292
1039D
You Are Given a Tree
data structures
,
dp
,
trees
2800
x1781
1037D
Valid BFS?
dfs and similar
,
graphs
,
shortest paths
,
trees
1700
x14399
1034C
Region Separation
combinatorics
,
dp
,
number theory
,
trees
2700
x870
1032F
Vasya and Maximum Matching
dp
,
trees
2400
x921
1025D
Recovering BST
brute force
,
dp
,
math
,
number theory
,
trees
2100
x3591
1023G
Pisces
data structures
,
flows
,
trees
3400
x114
1023F
Mobile Phone Network
dfs and similar
,
dsu
,
graphs
,
trees
2600
x872
1019E
Raining season
data structures
,
divide and conquer
,
trees
3200
x332
1016F
Road Projects
dfs and similar
,
dp
,
trees
2600
x791
1010F
Tree
fft
,
graphs
,
trees
3400
x213
1010D
Mars rover
dfs and similar
,
graphs
,
implementation
,
trees
2000
x2365
1009F
Dominant Indices
data structures
,
dsu
,
trees
2300
x5440
1007D
Ants
2-sat
,
data structures
,
trees
3200
x274
1006E
Military Problem
dfs and similar
,
graphs
,
trees
1600
x9689
1004E
Sonya and Ice Cream
binary search
,
data structures
,
dp
,
greedy
,
shortest paths
,
trees
2400
x1032
1000G
Two-Paths
data structures
,
dp
,
trees
2700
x582
1000E
We Need More Bosses
dfs and similar
,
graphs
,
trees
2100
x4496
997D
Cycles in product
combinatorics
,
divide and conquer
,
trees
2900
x430
←
1
2
3
4
5
6
7
8
9
→
User lists
Name