Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Contest is running
2023 Post World Finals Online ICPC Challenge powered by Huawei
12 days
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
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9811
1404B
Tree Tag
dfs and similar
,
dp
,
games
,
trees
1900
x7083
1403B
Spring cleaning
*special problem
,
data structures
,
dfs and similar
,
graphs
,
trees
2300
x358
1402C
Star Trek
*special problem
,
combinatorics
,
dfs and similar
,
dp
,
games
,
graphs
,
matrices
,
trees
2600
x198
1401D
Maximum Distributed Tree
dfs and similar
,
dp
,
greedy
,
implementation
,
math
,
number theory
,
sortings
,
trees
1800
x8859
1399E2
Weights Division (hard version)
binary search
,
dfs and similar
,
greedy
,
sortings
,
trees
,
two pointers
2200
x2217
1399E1
Weights Division (easy version)
data structures
,
dfs and similar
,
greedy
,
trees
2000
x5681
1396E
Distance Matching
constructive algorithms
,
dfs and similar
,
trees
3200
x320
1394D
Boboniu and Jianghu
dp
,
greedy
,
sortings
,
trees
2800
x804
1391E
Pairs of Pairs
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2600
x1432
1389G
Directing Edges
dfs and similar
,
dp
,
graphs
,
trees
2800
x380
1388D
Captain Flint and Treasure
data structures
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2000
x6123
1388C
Uncle Bogdan and Country Happiness
dfs and similar
,
greedy
,
math
,
trees
1800
x9345
1387B2
Village (Maximum)
*special problem
,
dfs and similar
,
trees
2500
x799
1387B1
Village (Minimum)
*special problem
,
dp
,
greedy
,
trees
2100
x1319
1385F
Removing Leaves
data structures
,
greedy
,
implementation
,
trees
2300
x2249
1383C
String Transformation 2
bitmasks
,
dp
,
graphs
,
trees
3100
x560
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10231
1381D
The Majestic Brown Tree Snake
dfs and similar
,
dp
,
greedy
,
trees
,
two pointers
3000
x447
1380E
Merging Towers
data structures
,
dsu
,
implementation
,
trees
2300
x1915
1379E
Inverse Genealogy
constructive algorithms
,
divide and conquer
,
dp
,
math
,
trees
2800
x389
1375G
Tree Modification
brute force
,
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
trees
2800
x1642
1370F2
The Hidden Pair (Hard Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2700
x1245
1370F1
The Hidden Pair (Easy Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2400
x1365
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8263
1368G
Shifting Dominoes
data structures
,
geometry
,
graphs
,
trees
3200
x397
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4015
1363E
Tree Shuffling
dfs and similar
,
dp
,
greedy
,
trees
2000
x6482
1363C
Game On Leaves
games
,
trees
1600
x17826
1361E
James and the Chase
dfs and similar
,
graphs
,
probabilities
,
trees
3000
x627
1361D
Johnny and James
greedy
,
implementation
,
math
,
trees
2900
x307
1344E
Train Tracks
data structures
,
trees
3100
x268
1340D
Nastya and Time Machine
constructive algorithms
,
dfs and similar
,
graphs
,
trees
2600
x801
1338D
Nested Rubber Bands
constructive algorithms
,
dfs and similar
,
dp
,
math
,
trees
2700
x806
1338B
Edge Weight Assignment
bitmasks
,
constructive algorithms
,
dfs and similar
,
greedy
,
math
,
trees
1800
x8062
1336F
Journey
data structures
,
divide and conquer
,
graphs
,
trees
3500
x195
1336A
Linova and Kingdom
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1600
x19319
1332F
Independent Set
dfs and similar
,
dp
,
trees
2500
x976
1328E
Tree Queries
dfs and similar
,
graphs
,
trees
1900
x8830
1326G
Spiderweb Trees
dp
,
geometry
,
trees
3500
x70
1325C
Ehab and Path-etic MEXs
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1500
x12945
1324F
Maximum White Subtree
dfs and similar
,
dp
,
graphs
,
trees
1800
x9070
1322F
Assigning Fares
dp
,
trees
3500
x88
1320E
Treeland and Viruses
data structures
,
dfs and similar
,
dp
,
shortest paths
,
trees
3000
x664
1311E
Construct the Binary Tree
brute force
,
constructive algorithms
,
trees
2200
x2141
1307F
Cow and Vacation
dfs and similar
,
dsu
,
trees
3300
x568
1305D
Kuroni and the Celebration
constructive algorithms
,
dfs and similar
,
interactive
,
trees
1900
x4756
1304E
1-Trees and Queries
data structures
,
dfs and similar
,
shortest paths
,
trees
2000
x4919
1303G
Sum of Prefix Sums
data structures
,
divide and conquer
,
geometry
,
trees
2700
x727
1299D
Around the World
bitmasks
,
combinatorics
,
dfs and similar
,
dp
,
graphs
,
graphs
,
math
,
trees
3000
x417
1297E
Modernization of Treeland
*special problem
,
dfs and similar
,
trees
x197
1296F
Berland Beauty
constructive algorithms
,
dfs and similar
,
greedy
,
sortings
,
trees
2100
x2672
1294F
Three Paths on a Tree
dfs and similar
,
dp
,
greedy
,
trees
2000
x5350
1292D
Chaotic V.
dp
,
graphs
,
greedy
,
math
,
number theory
,
trees
2700
x777
1292C
Xenon's Attack on the Gangs
combinatorics
,
dfs and similar
,
dp
,
greedy
,
trees
2300
x1870
1286B
Numbers on Tree
constructive algorithms
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
trees
1800
x4386
1285E
Delete a Segment
brute force
,
constructive algorithms
,
data structures
,
dp
,
graphs
,
sortings
,
trees
,
two pointers
2300
x1664
1285D
Dr. Evil Underscores
bitmasks
,
brute force
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
strings
,
trees
1900
x7338
1284F
New Year and Social Network
data structures
,
graph matchings
,
graphs
,
math
,
trees
3200
x307
1283F
DIY Garland
constructive algorithms
,
greedy
,
trees
2200
x1646
1280D
Miss Punyverse
dp
,
greedy
,
trees
2500
x920
1280C
Jeremy Bearimy
dfs and similar
,
graphs
,
greedy
,
trees
2000
x2481
1278E
Tests for problem D
constructive algorithms
,
dfs and similar
,
divide and conquer
,
trees
2200
x1737
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x3726
1276D
Tree Elimination
dp
,
trees
2900
x486
1263F
Economic Difficulties
data structures
,
dfs and similar
,
dp
,
flows
,
graphs
,
trees
2400
x838
1260F
Colored Tree
data structures
,
trees
2700
x481
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x259
1254D
Tree Queries
data structures
,
probabilities
,
trees
2700
x1144
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1580
1252F
Regular Forestation
hashing
,
trees
2400
x868
1252D
Find String in a Grid
data structures
,
dp
,
strings
,
trees
3000
x324
1252B
Cleaning Robots
dp
,
trees
2300
x502
1249F
Maximum Weight Subset
dp
,
trees
2200
x2091
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x6899
1244D
Paint the Tree
brute force
,
constructive algorithms
,
dp
,
graphs
,
implementation
,
trees
1800
x7223
1238F
The Maximum Subtree
dfs and similar
,
dp
,
graphs
,
trees
2200
x1688
1228F
One Node is Gone
constructive algorithms
,
implementation
,
trees
2500
x417
1225F
Tree Factory
constructive algorithms
,
greedy
,
trees
2500
x864
1223E
Paint the Tree
dp
,
sortings
,
trees
2100
x2521
1220E
Tourism
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2200
x2542
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x541
1214H
Tiles Placement
constructive algorithms
,
dfs and similar
,
trees
2800
x370
1214E
Petya and Construction Set
constructive algorithms
,
graphs
,
math
,
sortings
,
trees
2000
x2506
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x6615
1211H
Road Repair in Treeland
*special problem
,
binary search
,
dp
,
trees
3100
x41
1211G
King's Path
*special problem
,
math
,
trees
2500
x66
1210C
Kamil and Making a Stream
math
,
number theory
,
trees
2000
x3204
1209F
Koala and Notebook
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
strings
,
trees
2600
x1071
1208H
Red Blue Tree
data structures
,
implementation
,
trees
3500
x141
1207G
Indie Album
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
2700
x966
1205D
Almost All
constructive algorithms
,
trees
2700
x614
1193B
Magic Tree
*special problem
,
data structures
,
dp
,
trees
x417
1192B
Dynamic Diameter
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
trees
x1002
1188A2
Add on a Tree: Revolution
constructive algorithms
,
dfs and similar
,
implementation
,
trees
2500
x1089
1188A1
Add on a Tree
trees
1600
x8171
1187E
Tree Painting
dfs and similar
,
dp
,
trees
2100
x7452
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x492
1184E2
Daleks' Invasion (medium)
dfs and similar
,
graphs
,
shortest paths
,
trees
2100
x898
1184E1
Daleks' Invasion (easy)
graphs
,
trees
1900
x1556
←
1
2
3
4
5
6
7
8
→
User lists
Name