Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Educational Codeforces Round 166 (Rated for Div. 2)
36:19:00
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
1654D
Potion Brewing Class
dfs and similar
,
math
,
number theory
,
trees
2100
x2791
1648E
Air Reform
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
implementation
,
trees
3200
x386
1646D
Weight the Tree
constructive algorithms
,
dfs and similar
,
dp
,
implementation
,
trees
2000
x3561
1637F
Towers
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2500
x1699
1633F
Perfect Matching
data structures
,
divide and conquer
,
interactive
,
trees
2800
x310
1633E
Spanning Tree Queries
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1460
1632E2
Distance Tree (hard version)
binary search
,
dfs and similar
,
shortest paths
,
trees
2700
x932
1632E1
Distance Tree (easy version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
trees
2400
x1112
1628E
Groceries in Meteor Town
binary search
,
data structures
,
dsu
,
trees
3100
x833
1627C
Not Assigning
constructive algorithms
,
dfs and similar
,
number theory
,
trees
1400
x14097
1626E
Black and White Tree
dfs and similar
,
greedy
,
trees
2400
x1522
1625E2
Cats on the Upgrade (hard version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
trees
2800
x583
1625E1
Cats on the Upgrade (easy version)
brute force
,
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
graphs
,
trees
2500
x981
1625D
Binary Spiders
bitmasks
,
data structures
,
implementation
,
math
,
sortings
,
trees
2300
x1974
1623E
Middle Duplication
data structures
,
dfs and similar
,
greedy
,
strings
,
trees
2500
x1079
1621H
Trains and Airplanes
dfs and similar
,
graphs
,
shortest paths
,
trees
3500
x162
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x837
1615E
Purple Crayon
data structures
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1408
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x1845
1611E2
Escape The Maze (hard version)
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1900
x3669
1611E1
Escape The Maze (easy version)
dfs and similar
,
greedy
,
shortest paths
,
trees
,
two pointers
1700
x6981
1611D
Weights Assignment For Tree Edges
constructive algorithms
,
trees
1500
x9559
1610I
Mashtali vs AtCoder
games
,
trees
3100
x263
1610H
Squid Game
data structures
,
dfs and similar
,
greedy
,
trees
3100
x430
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x7017
1608G
Alphabetic Tree
binary search
,
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
3500
x150
1606F
Tree Queries
brute force
,
dp
,
trees
2800
x521
1605D
Treelabeling
bitmasks
,
constructive algorithms
,
dfs and similar
,
games
,
greedy
,
implementation
,
trees
2100
x2845
1594E2
Rubik's Cube Coloring (hard version)
brute force
,
dp
,
implementation
,
math
,
trees
2300
x1449
1593E
Gardener and Tree
brute force
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
1600
x11764
1592D
Hemose in ICPC ?
binary search
,
dfs and similar
,
implementation
,
interactive
,
math
,
number theory
,
trees
2300
x2168
1592C
Bakry and Partitioning
bitmasks
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x7651
1585G
Poachers
dp
,
games
,
graphs
,
trees
2500
x171
1585E
Frequency Queries
data structures
,
dfs and similar
,
trees
2400
x1020
1583H
Omkar and Tours
data structures
,
divide and conquer
,
sortings
,
trees
3300
x316
1583E
Moment of Bloom
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
greedy
,
trees
2200
x2168
1583B
Omkar and Heavenly Tree
constructive algorithms
,
trees
1200
x11985
1580D
Subsequence
brute force
,
divide and conquer
,
dp
,
greedy
,
trees
2900
x767
1580B
Mathematics Curriculum
brute force
,
combinatorics
,
dp
,
trees
2600
x982
1575I
Illusions of the Desert
data structures
,
trees
2300
x846
1575E
Eye-Pleasing City Park Tour
data structures
,
trees
2600
x305
1566E
Buds Re-hanging
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2000
x4025
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2541
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13287
1555F
Good Graph
data structures
,
dsu
,
graphs
,
trees
2700
x832
1555E
Boring Segments
data structures
,
sortings
,
trees
,
two pointers
2100
x3873
1553H
XOR and Distance
bitmasks
,
divide and conquer
,
trees
2900
x676
1551F
Equidistant Vertices
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2200
x1758
1547G
How Many Paths?
dfs and similar
,
dp
,
graphs
,
trees
2100
x2884
1540B
Tree Array
brute force
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
,
trees
2300
x2503
1535E
Gold Transfer
binary search
,
data structures
,
dp
,
greedy
,
interactive
,
trees
2200
x2648
1535D
Playoff Tournament
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1800
x7511
1534H
Lost Nodes
constructive algorithms
,
dp
,
graphs
,
interactive
,
sortings
,
trees
3500
x143
1534D
Lost Tree
constructive algorithms
,
interactive
,
trees
1800
x5792
1528E
Mashtali and Hagh Trees
combinatorics
,
dp
,
trees
2900
x510
1528C
Trees of Tranquillity
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2514
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x13993
1527D
MEX Tree
combinatorics
,
dfs and similar
,
implementation
,
math
,
trees
2400
x1840
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x8610
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1812
1519E
Off by One
constructive algorithms
,
dfs and similar
,
geometry
,
graphs
,
sortings
,
trees
2700
x809
1517F
Reunion
combinatorics
,
dp
,
trees
3200
x447
1515F
Phoenix and Earthquake
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2600
x1692
1511C
Yet Another Card Deck
brute force
,
data structures
,
implementation
,
trees
1100
x22336
1508E
Tree Calendar
brute force
,
constructive algorithms
,
data structures
,
dfs and similar
,
sortings
,
trees
3100
x328
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1429
1499F
Diameter Cuts
combinatorics
,
dfs and similar
,
dp
,
trees
2400
x1254
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x857
1495F
Squares
constructive algorithms
,
data structures
,
dp
,
graphs
,
trees
3300
x281
1495D
BFS Trees
combinatorics
,
dfs and similar
,
graphs
,
math
,
shortest paths
,
trees
2600
x1196
1494D
Dogeforces
constructive algorithms
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
sortings
,
trees
2300
x2504
1491H
Yuezheng Ling and Dynamic Tree
data structures
,
trees
3400
x767
1491E
Fib-tree
brute force
,
dfs and similar
,
divide and conquer
,
number theory
,
trees
2400
x2047
1486F
Pairs of Paths
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2600
x627
1485E
Move and Swap
dfs and similar
,
dp
,
greedy
,
trees
2500
x1218
1482H
Exam
data structures
,
string suffix structures
,
trees
3400
x438
1481F
AB Tree
dp
,
greedy
,
trees
3100
x475
1479D
Odd Mineral Resource
binary search
,
bitmasks
,
brute force
,
data structures
,
probabilities
,
trees
2900
x970
1467E
Distinctive Roots in a Tree
data structures
,
dfs and similar
,
dp
,
trees
2500
x1341
1466D
13th Labour of Heracles
data structures
,
greedy
,
sortings
,
trees
1500
x10864
1464F
My Beautiful Madness
data structures
,
trees
3500
x287
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1462
1458F
Range Diameter Sum
data structures
,
trees
3500
x258
1454E
Number of Simple Paths
combinatorics
,
dfs and similar
,
graphs
,
trees
2000
x5530
1453E
Dog Snacks
binary search
,
dfs and similar
,
dp
,
greedy
,
trees
2300
x1978
1452G
Game On Tree
data structures
,
dfs and similar
,
greedy
,
trees
2700
x458
1450G
Communism
bitmasks
,
dp
,
trees
3500
x233
1446C
Xor Tree
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
dp
,
trees
2100
x3407
1444E
Finding the Vertex
brute force
,
dfs and similar
,
dp
,
interactive
,
trees
3500
x132
1442E
Black, White and Grey Tree
binary search
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
3000
x558
1439E
Cheat and Win
bitmasks
,
data structures
,
games
,
trees
3500
x215
1438F
Olha and Igor
interactive
,
probabilities
,
trees
3000
x615
1437G
Death DBMS
data structures
,
string suffix structures
,
strings
,
trees
2600
x954
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12346
1436D
Bandit in a City
binary search
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x5873
1427F
Boring Card Game
data structures
,
greedy
,
trees
3200
x309
1423C
Dušan's Railway
divide and conquer
,
graphs
,
trees
3500
x130
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x1886
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4199
1413F
Roads and Ramen
data structures
,
trees
2800
x711
←
1
2
3
4
5
...
7
8
→
User lists
Name