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
37:39:43
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
580C
Kefa and Park
dfs and similar
,
graphs
,
trees
1500
x39513
115A
Party
dfs and similar
,
graphs
,
trees
900
x32673
1843C
Sum in Binary Tree
bitmasks
,
combinatorics
,
math
,
trees
800
x30882
431C
k-Tree
dp
,
implementation
,
trees
1600
x24409
339D
Xenia and Bit Operations
data structures
,
trees
1700
x23499
1511C
Yet Another Card Deck
brute force
,
data structures
,
implementation
,
trees
1100
x22010
1336A
Linova and Kingdom
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1600
x19198
1363C
Game On Leaves
games
,
trees
1600
x17760
1857D
Strong Vertices
math
,
sortings
,
trees
1300
x17521
1843D
Apple Tree
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
1200
x16920
862B
Mahmoud and Ehab and the bipartiteness
dfs and similar
,
graphs
,
trees
1300
x15848
839C
Journey
dfs and similar
,
dp
,
graphs
,
probabilities
,
trees
1500
x15815
522A
Reposts
*special problem
,
dfs and similar
,
dp
,
graphs
,
trees
1200
x15674
913B
Christmas Spruce
implementation
,
trees
1200
x15346
1905B
Begginer's Zelda
greedy
,
trees
1100
x15103
1741D
Masha and a Beautiful Tree
dfs and similar
,
divide and conquer
,
graphs
,
sortings
,
trees
1300
x14366
1676G
White-Black Balanced Subtrees
dfs and similar
,
dp
,
graphs
,
trees
1300
x14029
1627C
Not Assigning
constructive algorithms
,
dfs and similar
,
number theory
,
trees
1400
x13985
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x13766
1037D
Valid BFS?
dfs and similar
,
graphs
,
shortest paths
,
trees
1700
x13701
161D
Distance in Tree
dfs and similar
,
dp
,
trees
1800
x13468
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13151
1325C
Ehab and Path-etic MEXs
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1500
x12835
600E
Lomsat gelral
data structures
,
dfs and similar
,
dsu
,
trees
2300
x12540
1675D
Vertical Paths
graphs
,
implementation
,
trees
1300
x12503
1830A
Copil Copac Draws Trees
dfs and similar
,
dp
,
graphs
,
trees
1400
x12304
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12270
1583B
Omkar and Heavenly Tree
constructive algorithms
,
trees
1200
x11902
1139C
Edgy Trees
dfs and similar
,
dsu
,
graphs
,
math
,
trees
1500
x11809
1593E
Gardener and Tree
brute force
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
1600
x11594
755C
PolandBall and Forest
dfs and similar
,
dsu
,
graphs
,
interactive
,
trees
1300
x11381
1143C
Queen
dfs and similar
,
trees
1400
x11113
1466D
13th Labour of Heracles
data structures
,
greedy
,
sortings
,
trees
1500
x10747
982C
Cut 'em all!
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
1500
x10729
1689C
Infected Tree
dfs and similar
,
dp
,
trees
1600
x10420
1176E
Cover it!
dfs and similar
,
dsu
,
graphs
,
shortest paths
,
trees
1700
x10382
1663A
Who Tested?
*special problem
,
expression parsing
,
trees
x10377
1900C
Anji's Binary Tree
dfs and similar
,
dp
,
trees
1300
x10286
25D
Roads not only in Berland
dsu
,
graphs
,
trees
1900
x10254
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10217
763A
Timofey and a tree
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
1600
x10069
61E
Enemy is weak
data structures
,
trees
1900
x9992
429A
Xor-tree
dfs and similar
,
trees
1300
x9959
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9782
1611D
Weights Assignment For Tree Edges
constructive algorithms
,
trees
1500
x9463
1006E
Military Problem
dfs and similar
,
graphs
,
trees
1600
x9379
1861C
Queries for the Array
data structures
,
dfs and similar
,
implementation
,
strings
,
trees
1600
x9378
369C
Valera and Elections
dfs and similar
,
graphs
,
trees
1600
x9362
1388C
Uncle Bogdan and Country Happiness
dfs and similar
,
greedy
,
math
,
trees
1800
x9322
706D
Vasiliy's Multiset
binary search
,
bitmasks
,
data structures
,
trees
1800
x9207
1324F
Maximum White Subtree
dfs and similar
,
dp
,
graphs
,
trees
1800
x8953
1401D
Maximum Distributed Tree
dfs and similar
,
dp
,
greedy
,
implementation
,
math
,
number theory
,
sortings
,
trees
1800
x8833
780C
Andryusha and Colored Balloons
dfs and similar
,
graphs
,
greedy
,
trees
1600
x8831
1328E
Tree Queries
dfs and similar
,
graphs
,
trees
1900
x8746
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x8609
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x8567
219D
Choosing Capital for Treeland
dfs and similar
,
dp
,
graphs
,
trees
1700
x8490
1098A
Sum in the tree
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1600
x8341
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8237
1188A1
Add on a Tree
trees
1600
x8141
1693B
Fake Plastic Trees
dfs and similar
,
dp
,
greedy
,
trees
1700
x8028
1338B
Edge Weight Assignment
bitmasks
,
constructive algorithms
,
dfs and similar
,
greedy
,
math
,
trees
1800
x8025
1665C
Tree Infection
binary search
,
greedy
,
sortings
,
trees
1600
x8011
1592C
Bakry and Partitioning
bitmasks
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x7576
342E
Xenia and Tree
data structures
,
divide and conquer
,
trees
2400
x7550
1535D
Playoff Tournament
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1800
x7459
1187E
Tree Painting
dfs and similar
,
dp
,
trees
2100
x7366
1285D
Dr. Evil Underscores
bitmasks
,
brute force
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
strings
,
trees
1900
x7315
1244D
Paint the Tree
brute force
,
constructive algorithms
,
dp
,
graphs
,
implementation
,
trees
1800
x7208
1092F
Tree with Maximum Cost
dfs and similar
,
dp
,
trees
1900
x7087
1404B
Tree Tag
dfs and similar
,
dp
,
games
,
trees
1900
x7063
1714G
Path Prefixes
binary search
,
data structures
,
dfs and similar
,
trees
1700
x7057
682C
Alyona and the Tree
dfs and similar
,
dp
,
graphs
,
trees
1600
x6980
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x6913
1611E1
Escape The Maze (easy version)
dfs and similar
,
greedy
,
shortest paths
,
trees
,
two pointers
1700
x6905
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x6889
609E
Minimum spanning tree for each edge
data structures
,
dfs and similar
,
dsu
,
graphs
,
trees
2100
x6889
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x6844
930A
Peculiar apple-tree
dfs and similar
,
graphs
,
trees
1500
x6729
321C
Ciel the Commander
constructive algorithms
,
dfs and similar
,
divide and conquer
,
greedy
,
trees
2100
x6711
191C
Fools and Roads
data structures
,
dfs and similar
,
trees
1900
x6678
570D
Tree Requests
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
graphs
,
trees
2200
x6610
1213G
Path Queries
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
1800
x6574
821C
Okabe and Boxes
data structures
,
greedy
,
trees
1500
x6569
1899F
Alex's whims
constructive algorithms
,
graphs
,
greedy
,
shortest paths
,
trees
1600
x6549
1873H
Mad City
dfs and similar
,
dsu
,
games
,
graphs
,
shortest paths
,
trees
1700
x6478
1363E
Tree Shuffling
dfs and similar
,
dp
,
greedy
,
trees
2000
x6473
639B
Bear and Forgotten Tree 3
constructive algorithms
,
graphs
,
trees
1600
x6387
61D
Eternal Victory
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
trees
1800
x6223
519E
A and B and Lecture Rooms
binary search
,
data structures
,
dfs and similar
,
dp
,
trees
2100
x6154
482B
Interesting Array
constructive algorithms
,
data structures
,
trees
1800
x6144
375D
Tree and Queries
data structures
,
dfs and similar
,
trees
2400
x6137
1388D
Captain Flint and Treasure
data structures
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2000
x6110
979C
Kuro and Walking Route
dfs and similar
,
trees
1600
x6063
383C
Propagating tree
data structures
,
dfs and similar
,
trees
2000
x6062
208E
Blood Cousins
binary search
,
data structures
,
dfs and similar
,
trees
2100
x6029
1805D
A Wide, Wide Graph
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
1800
x5994
696A
Lorenzo Von Matterhorn
brute force
,
data structures
,
implementation
,
trees
1500
x5969
1881F
Minimum Maximum Distance
dfs and similar
,
dp
,
graphs
,
shortest paths
,
trees
1700
x5909
1436D
Bandit in a City
binary search
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x5822
←
1
2
3
...
7
8
→
User lists
Name