Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round (Div. 2)
3 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
1438F
Olha and Igor
interactive
,
probabilities
,
trees
3000
x624
1437G
Death DBMS
data structures
,
string suffix structures
,
strings
,
trees
2600
x963
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12437
1436D
Bandit in a City
binary search
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x5920
1427F
Boring Card Game
data structures
,
greedy
,
trees
3200
x311
1423C
Dušan's Railway
divide and conquer
,
graphs
,
trees
3500
x138
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x1912
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4242
1413F
Roads and Ramen
data structures
,
trees
2800
x717
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x936
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1896
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9933
1404B
Tree Tag
dfs and similar
,
dp
,
games
,
trees
1900
x7160
1403B
Spring cleaning
*special problem
,
data structures
,
dfs and similar
,
graphs
,
trees
2300
x361
1402C
Star Trek
*special problem
,
combinatorics
,
dfs and similar
,
dp
,
games
,
graphs
,
matrices
,
trees
2600
x201
1401D
Maximum Distributed Tree
dfs and similar
,
dp
,
greedy
,
implementation
,
math
,
number theory
,
sortings
,
trees
1800
x8940
1399E2
Weights Division (hard version)
binary search
,
dfs and similar
,
greedy
,
sortings
,
trees
,
two pointers
2200
x2235
1399E1
Weights Division (easy version)
data structures
,
dfs and similar
,
greedy
,
trees
2000
x5728
1396E
Distance Matching
constructive algorithms
,
dfs and similar
,
trees
3200
x346
1394D
Boboniu and Jianghu
dp
,
greedy
,
sortings
,
trees
2800
x846
1391E
Pairs of Pairs
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2600
x1535
1389G
Directing Edges
dfs and similar
,
dp
,
graphs
,
trees
2800
x388
1388D
Captain Flint and Treasure
data structures
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2000
x6215
1388C
Uncle Bogdan and Country Happiness
dfs and similar
,
greedy
,
math
,
trees
1800
x9470
1387B2
Village (Maximum)
*special problem
,
dfs and similar
,
trees
2500
x830
1387B1
Village (Minimum)
*special problem
,
dp
,
greedy
,
trees
2100
x1354
1385F
Removing Leaves
data structures
,
greedy
,
implementation
,
trees
2300
x2333
1383C
String Transformation 2
bitmasks
,
dp
,
graphs
,
trees
3100
x565
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10340
1381D
The Majestic Brown Tree Snake
dfs and similar
,
dp
,
greedy
,
trees
,
two pointers
3000
x503
1380E
Merging Towers
data structures
,
dsu
,
implementation
,
trees
2300
x1979
1379E
Inverse Genealogy
constructive algorithms
,
divide and conquer
,
dp
,
math
,
trees
2800
x421
1375G
Tree Modification
brute force
,
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
trees
2800
x1738
1370F2
The Hidden Pair (Hard Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2700
x1314
1370F1
The Hidden Pair (Easy Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2400
x1430
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8382
1368G
Shifting Dominoes
data structures
,
geometry
,
graphs
,
trees
3200
x457
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4102
1363E
Tree Shuffling
dfs and similar
,
dp
,
greedy
,
trees
2000
x6578
1363C
Game On Leaves
games
,
trees
1600
x18111
1361E
James and the Chase
dfs and similar
,
graphs
,
probabilities
,
trees
3000
x643
1361D
Johnny and James
greedy
,
implementation
,
math
,
trees
2900
x312
1344E
Train Tracks
data structures
,
trees
3100
x452
1340D
Nastya and Time Machine
constructive algorithms
,
dfs and similar
,
graphs
,
trees
2600
x980
1338D
Nested Rubber Bands
constructive algorithms
,
dfs and similar
,
dp
,
math
,
trees
2700
x992
1338B
Edge Weight Assignment
bitmasks
,
constructive algorithms
,
dfs and similar
,
greedy
,
math
,
trees
1800
x8345
1336F
Journey
data structures
,
divide and conquer
,
graphs
,
trees
3500
x202
1336A
Linova and Kingdom
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1600
x19844
1332F
Independent Set
dfs and similar
,
dp
,
trees
2500
x984
1328E
Tree Queries
dfs and similar
,
graphs
,
trees
1900
x9153
1326G
Spiderweb Trees
dp
,
geometry
,
trees
3500
x73
1325C
Ehab and Path-etic MEXs
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1500
x13272
1324F
Maximum White Subtree
dfs and similar
,
dp
,
graphs
,
trees
1800
x9464
1322F
Assigning Fares
dp
,
trees
3500
x91
1320E
Treeland and Viruses
data structures
,
dfs and similar
,
dp
,
shortest paths
,
trees
3000
x800
1311E
Construct the Binary Tree
brute force
,
constructive algorithms
,
trees
2200
x2308
1307F
Cow and Vacation
dfs and similar
,
dsu
,
trees
3300
x574
1305D
Kuroni and the Celebration
constructive algorithms
,
dfs and similar
,
interactive
,
trees
1900
x4916
1304E
1-Trees and Queries
data structures
,
dfs and similar
,
shortest paths
,
trees
2000
x5121
1303G
Sum of Prefix Sums
data structures
,
divide and conquer
,
geometry
,
trees
2700
x747
1299D
Around the World
bitmasks
,
combinatorics
,
dfs and similar
,
dp
,
graphs
,
graphs
,
math
,
trees
3000
x424
1297E
Modernization of Treeland
*special problem
,
dfs and similar
,
trees
x204
1296F
Berland Beauty
constructive algorithms
,
dfs and similar
,
greedy
,
sortings
,
trees
2100
x2841
1294F
Three Paths on a Tree
dfs and similar
,
dp
,
greedy
,
trees
2000
x5573
1292D
Chaotic V.
dp
,
graphs
,
greedy
,
math
,
number theory
,
trees
2700
x785
1292C
Xenon's Attack on the Gangs
combinatorics
,
dfs and similar
,
dp
,
greedy
,
trees
2300
x2023
1286B
Numbers on Tree
constructive algorithms
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
trees
1800
x4622
1285E
Delete a Segment
brute force
,
constructive algorithms
,
data structures
,
dp
,
graphs
,
sortings
,
trees
,
two pointers
2300
x1808
1285D
Dr. Evil Underscores
bitmasks
,
brute force
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
strings
,
trees
1900
x7554
1284F
New Year and Social Network
data structures
,
graph matchings
,
graphs
,
math
,
trees
3200
x315
1283F
DIY Garland
constructive algorithms
,
greedy
,
trees
2200
x1808
1280D
Miss Punyverse
dp
,
greedy
,
trees
2500
x932
1280C
Jeremy Bearimy
dfs and similar
,
graphs
,
greedy
,
trees
2000
x2637
1278E
Tests for problem D
constructive algorithms
,
dfs and similar
,
divide and conquer
,
trees
2200
x1895
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3910
1276D
Tree Elimination
dp
,
trees
2900
x491
1263F
Economic Difficulties
data structures
,
dfs and similar
,
dp
,
flows
,
graphs
,
trees
2400
x857
1260F
Colored Tree
data structures
,
trees
2700
x489
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x263
1254D
Tree Queries
data structures
,
probabilities
,
trees
2700
x1181
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1606
1252F
Regular Forestation
hashing
,
trees
2400
x893
1252D
Find String in a Grid
data structures
,
dp
,
strings
,
trees
3000
x330
1252B
Cleaning Robots
dp
,
trees
2300
x507
1249F
Maximum Weight Subset
dp
,
trees
2200
x2288
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x7210
1244D
Paint the Tree
brute force
,
constructive algorithms
,
dp
,
graphs
,
implementation
,
trees
1800
x7426
1238F
The Maximum Subtree
dfs and similar
,
dp
,
graphs
,
trees
2200
x1835
1228F
One Node is Gone
constructive algorithms
,
implementation
,
trees
2500
x421
1225F
Tree Factory
constructive algorithms
,
greedy
,
trees
2500
x873
1223E
Paint the Tree
dp
,
sortings
,
trees
2100
x2549
1220E
Tourism
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2200
x2696
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x558
1214H
Tiles Placement
constructive algorithms
,
dfs and similar
,
trees
2800
x378
1214E
Petya and Construction Set
constructive algorithms
,
graphs
,
math
,
sortings
,
trees
2000
x2663
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x6940
1211H
Road Repair in Treeland
*special problem
,
binary search
,
dp
,
trees
3100
x43
1211G
King's Path
*special problem
,
math
,
trees
2500
x69
1210C
Kamil and Making a Stream
math
,
number theory
,
trees
2000
x3229
1209F
Koala and Notebook
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
strings
,
trees
2600
x1114
←
1
2
3
4
5
6
7
8
→
User lists
Name