Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round #792 (Div. 1)
2 days
Before contest
Codeforces Round #792 (Div. 2)
2 days
→ 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
1680F
Lenient Vertex Cover
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x175
1676G
White-Black Balanced Subtrees
dfs and similar
,
dp
,
graphs
,
trees
1300
x6128
1675F
Vlad and Unfinished Business
dfs and similar
,
dp
,
greedy
,
trees
1800
x2412
1675D
Vertical Paths
graphs
,
implementation
,
trees
1300
x7097
1671E
Preorder
combinatorics
,
divide and conquer
,
dp
,
dsu
,
hashing
,
sortings
,
trees
2100
x1703
1670E
Hemose on the Tree
bitmasks
,
constructive algorithms
,
dfs and similar
,
trees
2200
x1010
1667D
Edge Elimination
constructive algorithms
,
dfs and similar
,
dp
,
trees
2900
x304
1666J
Job Lookup
constructive algorithms
,
dp
,
shortest paths
,
trees
2100
x794
1665C
Tree Infection
binary search
,
greedy
,
sortings
,
trees
1600
x5339
1663A
Who Tested?
expression parsing
,
trees
x8506
1662G
Gastronomic Event
dp
,
greedy
,
trees
x210
1661E
Narrow Components
brute force
,
data structures
,
dp
,
dsu
,
math
,
trees
2500
x614
1659F
Tree and Permutation Game
dfs and similar
,
games
,
graphs
,
trees
3000
x77
1657F
Words on Tree
2-sat
,
dfs and similar
,
dsu
,
graphs
,
trees
2600
x352
1656E
Equal Tree Sums
constructive algorithms
,
dfs and similar
,
math
,
trees
2200
x2294
1654G
Snowy Mountain
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
trees
2900
x163
1654D
Potion Brewing Class
dfs and similar
,
math
,
number theory
,
trees
2100
x2146
1648E
Air Reform
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
implementation
,
trees
3200
x181
1646D
Weight the Tree
constructive algorithms
,
dfs and similar
,
dp
,
implementation
,
trees
2000
x2326
1637F
Towers
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2500
x1235
1633F
Perfect Matching
data structures
,
divide and conquer
,
interactive
,
trees
2800
x213
1633E
Spanning Tree Queries
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1098
1632E2
Distance Tree (hard version)
binary search
,
dfs and similar
,
shortest paths
,
trees
2700
x608
1632E1
Distance Tree (easy version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
trees
2400
x773
1628E
Groceries in Meteor Town
binary search
,
data structures
,
dsu
,
trees
3100
x367
1627C
Not Assigning
constructive algorithms
,
dfs and similar
,
number theory
,
trees
1400
x10220
1626E
Black and White Tree
dfs and similar
,
greedy
,
trees
2400
x1025
1625E2
Cats on the Upgrade (hard version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
trees
2800
x373
1625E1
Cats on the Upgrade (easy version)
brute force
,
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
graphs
,
trees
2500
x691
1625D
Binary Spiders
bitmasks
,
data structures
,
implementation
,
math
,
sortings
,
trees
2300
x1518
1623E
Middle Duplication
data structures
,
dfs and similar
,
greedy
,
strings
,
trees
2500
x828
1621H
Trains and Airplanes
dfs and similar
,
graphs
,
shortest paths
,
trees
3500
x80
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x590
1615E
Purple Crayon
data structures
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1089
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x1462
1611E2
Escape The Maze (hard version)
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1900
x2523
1611E1
Escape The Maze (easy version)
dfs and similar
,
greedy
,
shortest paths
,
trees
,
two pointers
1700
x4789
1611D
Weights Assignment For Tree Edges
constructive algorithms
,
trees
1500
x7060
1610I
Mashtali vs AtCoder
games
,
trees
3100
x194
1610H
Squid Game
data structures
,
dfs and similar
,
greedy
,
trees
3100
x177
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x4976
1608G
Alphabetic Tree
binary search
,
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
3500
x86
1606F
Tree Queries
brute force
,
dp
,
trees
2800
x318
1605D
Treelabeling
bitmasks
,
constructive algorithms
,
dfs and similar
,
games
,
greedy
,
implementation
,
trees
2100
x2232
1594E2
Rubik's Cube Coloring (hard version)
brute force
,
dp
,
implementation
,
math
,
trees
2300
x1191
1593E
Gardener and Tree
brute force
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
1600
x7808
1592D
Hemose in ICPC ?
binary search
,
dfs and similar
,
implementation
,
interactive
,
math
,
number theory
,
trees
2300
x1772
1592C
Bakry and Partitioning
bitmasks
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x5485
1585G
Poachers
dp
,
games
,
graphs
,
trees
2500
x61
1585E
Frequency Queries
data structures
,
dfs and similar
,
trees
2400
x788
1583H
Omkar and Tours
data structures
,
divide and conquer
,
sortings
,
trees
3300
x175
1583E
Moment of Bloom
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
greedy
,
trees
2200
x1778
1583B
Omkar and Heavenly Tree
constructive algorithms
,
trees
1200
x9771
1580D
Subsequence
brute force
,
divide and conquer
,
dp
,
greedy
,
trees
2900
x454
1580B
Mathematics Curriculum
brute force
,
combinatorics
,
dp
,
trees
2600
x616
1575I
Illusions of the Desert
data structures
,
trees
2300
x547
1575E
Eye-Pleasing City Park Tour
data structures
,
trees
2600
x183
1566E
Buds Re-hanging
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2000
x3335
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x1955
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x10366
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x630
1555E
Boring Segments
data structures
,
sortings
,
trees
,
two pointers
2100
x2995
1553H
XOR and Distance
bitmasks
,
divide and conquer
,
trees
2900
x426
1551F
Equidistant Vertices
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2200
x1284
1547G
How Many Paths?
dfs and similar
,
dp
,
graphs
,
trees
2100
x2152
1540B
Tree Array
brute force
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
,
trees
2300
x1840
1535E
Gold Transfer
binary search
,
data structures
,
dp
,
greedy
,
interactive
,
trees
2200
x2121
1535D
Playoff Tournament
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1800
x6025
1534H
Lost Nodes
constructive algorithms
,
dp
,
graphs
,
interactive
,
sortings
,
trees
3500
x105
1534D
Lost Tree
constructive algorithms
,
interactive
,
trees
1800
x4636
1528E
Mashtali and Hagh Trees
combinatorics
,
dp
,
trees
2900
x341
1528C
Trees of Tranquillity
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2033
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x10366
1527D
MEX Tree
combinatorics
,
dfs and similar
,
implementation
,
math
,
trees
2400
x1418
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x7400
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1353
1519E
Off by One
constructive algorithms
,
dfs and similar
,
geometry
,
graphs
,
sortings
,
trees
2700
x660
1517F
Reunion
combinatorics
,
dp
,
trees
3200
x245
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1205
1511C
Yet Another Card Deck
brute force
,
data structures
,
implementation
,
trees
1100
x17478
1508E
Tree Calendar
brute force
,
constructive algorithms
,
data structures
,
dfs and similar
,
sortings
,
trees
3100
x235
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1014
1499F
Diameter Cuts
combinatorics
,
dfs and similar
,
dp
,
trees
2400
x840
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x494
1495F
Squares
constructive algorithms
,
data structures
,
dp
,
graphs
,
trees
3300
x158
1495D
BFS Trees
combinatorics
,
dfs and similar
,
graphs
,
math
,
shortest paths
,
trees
2600
x896
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2109
1491H
Yuezheng Ling and Dynamic Tree
data structures
,
trees
3400
x394
1491E
Fib-tree
brute force
,
dfs and similar
,
divide and conquer
,
number theory
,
trees
2400
x1669
1486F
Pairs of Paths
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2600
x446
1485E
Move and Swap
dfs and similar
,
dp
,
greedy
,
trees
2500
x1016
1482H
Exam
data structures
,
string suffix structures
,
trees
3400
x221
1481F
AB Tree
dp
,
greedy
,
trees
3100
x250
1479D
Odd Mineral Resource
binary search
,
bitmasks
,
brute force
,
data structures
,
probabilities
,
trees
2900
x570
1467E
Distinctive Roots in a Tree
data structures
,
dfs and similar
,
dp
,
trees
2500
x1024
1466D
13th Labour of Heracles
data structures
,
greedy
,
sortings
,
trees
1500
x9512
1464F
My Beautiful Madness
data structures
,
trees
3500
x99
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1178
1458F
Range Diameter Sum
data structures
,
trees
3500
x110
1454E
Number of Simple Paths
combinatorics
,
dfs and similar
,
graphs
,
trees
2000
x4476
←
1
2
3
...
6
7
→
User lists
Name