Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 964 (Div. 4)
14:50:19
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
1681F
Unique Occurrences
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
dsu
,
trees
2300
x1692
1680F
Lenient Vertex Cover
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x648
1676G
White-Black Balanced Subtrees
dfs and similar
,
dp
,
graphs
,
trees
1300
x15081
1675F
Vlad and Unfinished Business
dfs and similar
,
dp
,
greedy
,
trees
1800
x5204
1675D
Vertical Paths
graphs
,
implementation
,
trees
1300
x12859
1671E
Preorder
combinatorics
,
divide and conquer
,
dp
,
dsu
,
hashing
,
sortings
,
trees
2100
x2697
1670E
Hemose on the Tree
bitmasks
,
constructive algorithms
,
dfs and similar
,
trees
2200
x1721
1667D
Edge Elimination
constructive algorithms
,
dfs and similar
,
dp
,
trees
2900
x650
1666J
Job Lookup
constructive algorithms
,
dp
,
shortest paths
,
trees
2100
x1306
1665C
Tree Infection
binary search
,
greedy
,
sortings
,
trees
1600
x8227
1663A
Who Tested?
*special problem
,
expression parsing
,
trees
x10453
1662G
Gastronomic Event
dp
,
greedy
,
trees
x467
1661E
Narrow Components
brute force
,
data structures
,
dp
,
dsu
,
math
,
trees
2500
x934
1659F
Tree and Permutation Game
dfs and similar
,
games
,
graphs
,
trees
3000
x190
1657F
Words on Tree
2-sat
,
dfs and similar
,
dsu
,
graphs
,
trees
2600
x571
1656E
Equal Tree Sums
constructive algorithms
,
dfs and similar
,
math
,
trees
2200
x3376
1654G
Snowy Mountain
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
trees
2900
x365
1654D
Potion Brewing Class
dfs and similar
,
math
,
number theory
,
trees
2100
x2812
1648E
Air Reform
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
implementation
,
trees
3200
x391
1646D
Weight the Tree
constructive algorithms
,
dfs and similar
,
dp
,
implementation
,
trees
2000
x3668
1637F
Towers
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2500
x1740
1633F
Perfect Matching
data structures
,
divide and conquer
,
interactive
,
trees
2800
x316
1633E
Spanning Tree Queries
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1500
1632E2
Distance Tree (hard version)
binary search
,
dfs and similar
,
shortest paths
,
trees
2700
x955
1632E1
Distance Tree (easy version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
trees
2400
x1139
1628E
Groceries in Meteor Town
binary search
,
data structures
,
dsu
,
trees
3100
x860
1627C
Not Assigning
constructive algorithms
,
dfs and similar
,
number theory
,
trees
1400
x14323
1626E
Black and White Tree
dfs and similar
,
greedy
,
trees
2400
x1545
1625E2
Cats on the Upgrade (hard version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
trees
2800
x587
1625E1
Cats on the Upgrade (easy version)
brute force
,
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
graphs
,
trees
2500
x1022
1625D
Binary Spiders
bitmasks
,
data structures
,
implementation
,
math
,
sortings
,
trees
2300
x2023
1623E
Middle Duplication
data structures
,
dfs and similar
,
greedy
,
strings
,
trees
2500
x1087
1621H
Trains and Airplanes
dfs and similar
,
graphs
,
shortest paths
,
trees
3500
x175
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x855
1615E
Purple Crayon
data structures
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1428
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x1867
1611E2
Escape The Maze (hard version)
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1900
x3749
1611E1
Escape The Maze (easy version)
dfs and similar
,
greedy
,
shortest paths
,
trees
,
two pointers
1700
x7155
1611D
Weights Assignment For Tree Edges
constructive algorithms
,
trees
1500
x9728
1610I
Mashtali vs AtCoder
games
,
trees
3100
x278
1610H
Squid Game
data structures
,
dfs and similar
,
greedy
,
trees
3100
x477
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x7203
1608G
Alphabetic Tree
binary search
,
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
3500
x152
1606F
Tree Queries
brute force
,
dp
,
trees
2800
x544
1605D
Treelabeling
bitmasks
,
constructive algorithms
,
dfs and similar
,
games
,
greedy
,
implementation
,
trees
2100
x2877
1594E2
Rubik's Cube Coloring (hard version)
brute force
,
dp
,
implementation
,
math
,
trees
2300
x1469
1593E
Gardener and Tree
brute force
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
1600
x12111
1592D
Hemose in ICPC ?
binary search
,
dfs and similar
,
implementation
,
interactive
,
math
,
number theory
,
trees
2300
x2199
1592C
Bakry and Partitioning
bitmasks
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x7813
1585G
Poachers
dp
,
games
,
graphs
,
trees
2500
x175
1585E
Frequency Queries
data structures
,
dfs and similar
,
trees
2400
x1037
1583H
Omkar and Tours
data structures
,
divide and conquer
,
sortings
,
trees
3300
x319
1583E
Moment of Bloom
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
greedy
,
trees
2200
x2194
1583B
Omkar and Heavenly Tree
constructive algorithms
,
trees
1200
x12116
1580D
Subsequence
brute force
,
divide and conquer
,
dp
,
greedy
,
trees
2900
x840
1580B
Mathematics Curriculum
brute force
,
combinatorics
,
dp
,
trees
2600
x1011
1575I
Illusions of the Desert
data structures
,
trees
2300
x858
1575E
Eye-Pleasing City Park Tour
data structures
,
trees
2600
x323
1566E
Buds Re-hanging
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2000
x4080
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2601
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13579
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x840
1555E
Boring Segments
data structures
,
sortings
,
trees
,
two pointers
2100
x3972
1553H
XOR and Distance
bitmasks
,
divide and conquer
,
trees
2900
x680
1551F
Equidistant Vertices
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2200
x1802
1547G
How Many Paths?
dfs and similar
,
dp
,
graphs
,
trees
2100
x2948
1540B
Tree Array
brute force
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
,
trees
2300
x2538
1535E
Gold Transfer
binary search
,
data structures
,
dp
,
greedy
,
interactive
,
trees
2200
x2698
1535D
Playoff Tournament
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1800
x7625
1534H
Lost Nodes
constructive algorithms
,
dp
,
graphs
,
interactive
,
sortings
,
trees
3500
x147
1534D
Lost Tree
constructive algorithms
,
interactive
,
trees
1800
x5931
1528E
Mashtali and Hagh Trees
combinatorics
,
dp
,
trees
2900
x518
1528C
Trees of Tranquillity
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2602
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x14386
1527D
MEX Tree
combinatorics
,
dfs and similar
,
implementation
,
math
,
trees
2400
x1871
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x8689
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1881
1519E
Off by One
constructive algorithms
,
dfs and similar
,
geometry
,
graphs
,
sortings
,
trees
2700
x815
1517F
Reunion
combinatorics
,
dp
,
trees
3200
x454
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1740
1511C
Yet Another Card Deck
brute force
,
data structures
,
implementation
,
trees
1100
x23085
1508E
Tree Calendar
brute force
,
constructive algorithms
,
data structures
,
dfs and similar
,
sortings
,
trees
3100
x331
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1450
1499F
Diameter Cuts
combinatorics
,
dfs and similar
,
dp
,
trees
2400
x1285
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x873
1495F
Squares
constructive algorithms
,
data structures
,
dp
,
graphs
,
trees
3300
x292
1495D
BFS Trees
combinatorics
,
dfs and similar
,
graphs
,
math
,
shortest paths
,
trees
2600
x1262
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2531
1491H
Yuezheng Ling and Dynamic Tree
data structures
,
trees
3400
x790
1491E
Fib-tree
brute force
,
dfs and similar
,
divide and conquer
,
number theory
,
trees
2400
x2126
1486F
Pairs of Paths
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2600
x647
1485E
Move and Swap
dfs and similar
,
dp
,
greedy
,
trees
2500
x1255
1482H
Exam
data structures
,
string suffix structures
,
trees
3400
x451
1481F
AB Tree
dp
,
greedy
,
trees
3100
x478
1479D
Odd Mineral Resource
binary search
,
bitmasks
,
brute force
,
data structures
,
probabilities
,
trees
2900
x998
1467E
Distinctive Roots in a Tree
data structures
,
dfs and similar
,
dp
,
trees
2500
x1411
1466D
13th Labour of Heracles
data structures
,
greedy
,
sortings
,
trees
1500
x11123
1464F
My Beautiful Madness
data structures
,
trees
3500
x298
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1480
1458F
Range Diameter Sum
data structures
,
trees
3500
x268
←
1
2
3
4
5
...
8
9
→
User lists
Name