Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 952 (Div. 4)
14:44:51
Register now »
→ Filter Problems
Difficulty:
—
graphs
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
1513D
GCD and MST
constructive algorithms
,
dsu
,
graphs
,
greedy
,
number theory
,
sortings
2000
x5101
1511D
Min Cost String
brute force
,
constructive algorithms
,
graphs
,
greedy
,
strings
1600
x11116
1510K
King's Task
brute force
,
graphs
,
implementation
1200
x5301
1510C
Cactus Not Enough
dfs and similar
,
graph matchings
,
graphs
2900
x206
1510B
Button Lock
flows
,
graph matchings
,
graphs
2600
x720
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1433
1506F
Triangular Paths
constructive algorithms
,
graphs
,
math
,
shortest paths
,
sortings
2000
x3120
1503F
Balance the Cards
constructive algorithms
,
data structures
,
divide and conquer
,
geometry
,
graphs
,
implementation
3500
x136
1499G
Graph Coloring
data structures
,
graphs
,
interactive
3100
x188
1498E
Two Houses
brute force
,
graphs
,
greedy
,
interactive
,
sortings
2200
x1847
1498D
Bananas in a Microwave
dfs and similar
,
dp
,
graphs
,
implementation
2200
x2253
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1492
1495F
Squares
constructive algorithms
,
data structures
,
dp
,
graphs
,
trees
3300
x283
1495D
BFS Trees
combinatorics
,
dfs and similar
,
graphs
,
math
,
shortest paths
,
trees
2600
x1196
1495C
Garden of the Sun
constructive algorithms
,
graphs
2300
x2514
1494F
Delete The Edges
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
2900
x335
1494E
A-Z Graph
constructive algorithms
,
data structures
,
graphs
,
hashing
2400
x1670
1491G
Switch and Flip
constructive algorithms
,
graphs
,
math
2800
x736
1487E
Cheap Dinner
brute force
,
data structures
,
graphs
,
greedy
,
implementation
,
sortings
,
two pointers
2000
x4399
1487C
Minimum Ties
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
1500
x13786
1486E
Paired Payment
binary search
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graphs
,
shortest paths
2200
x2816
1485D
Multiples and Power Differences
constructive algorithms
,
graphs
,
math
,
number theory
2200
x4960
1482F
Useful Edges
graphs
,
shortest paths
2400
x1475
1481D
AB Graph
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2000
x4414
1477D
Nezzar and Hidden Permutations
constructive algorithms
,
dfs and similar
,
graphs
2800
x535
1476E
Pattern Matching
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
hashing
,
sortings
,
strings
2300
x2258
1476C
Longest Simple Cycle
dp
,
graphs
,
greedy
1600
x11102
1475C
Ball in Berland
combinatorics
,
graphs
,
math
1400
x20203
1473E
Minimum Path
graphs
,
shortest paths
2400
x3348
1472G
Moving to the Capital
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x4445
1472C
Long Jumps
dp
,
graphs
1100
x30257
1470E
Strange Permutation
binary search
,
combinatorics
,
data structures
,
dp
,
graphs
,
implementation
,
two pointers
3200
x294
1470D
Strange Housing
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
greedy
2200
x3605
1470B
Strange Definition
bitmasks
,
graphs
,
hashing
,
math
,
number theory
1900
x6193
1468M
Similar Sets
data structures
,
graphs
,
implementation
2300
x913
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x3933
1466H
Finding satisfactory solutions
combinatorics
,
dp
,
graphs
,
greedy
,
math
3300
x267
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2803
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1464
1461E
Water Level
brute force
,
graphs
,
greedy
,
implementation
,
math
2200
x2064
1458D
Flip and Reverse
data structures
,
graphs
,
greedy
3100
x982
1454E
Number of Simple Paths
combinatorics
,
dfs and similar
,
graphs
,
trees
2000
x5547
1450E
Capitalism
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2700
x1035
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1465
1442C
Graph Transpositions
dfs and similar
,
graphs
,
greedy
,
shortest paths
2400
x1584
1439B
Graph Subset Problem
constructive algorithms
,
data structures
,
graphs
2600
x1360
1439A2
Binary Table (Hard Version)
constructive algorithms
,
graphs
,
greedy
,
implementation
1900
x4964
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12374
1436D
Bandit in a City
binary search
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x5888
1433G
Reducing Delivery Cost
brute force
,
graphs
,
shortest paths
2100
x4161
1430G
Yet Another DAG Problem
bitmasks
,
dfs and similar
,
dp
,
flows
,
graphs
,
math
2600
x635
1428B
Belted Rooms
graphs
,
implementation
1200
x14210
1427G
One Billion Shades of Grey
flows
,
graphs
3300
x263
1424M
Ancient Language
graphs
,
sortings
2200
x522
1423H
Virus
data structures
,
divide and conquer
,
dsu
,
graphs
2500
x512
1423C
Dušan's Railway
divide and conquer
,
graphs
,
trees
3500
x131
1423B
Valuable Paper
binary search
,
flows
,
graph matchings
,
graphs
1900
x1776
1422D
Returning Home
graphs
,
shortest paths
,
sortings
2300
x2595
1419F
Rain of Fire
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
2800
x477
1418C
Mortal Kombat Tower
dp
,
graphs
,
greedy
,
shortest paths
1500
x18537
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x1895
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x7797
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x934
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1887
1407E
Egor in the Republic of Dagestan
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
2500
x1610
1407D
Discrete Centrifugal Jumps
data structures
,
dp
,
graphs
2200
x4647
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9879
1404E
Bricks
flows
,
graph matchings
,
graphs
2800
x1101
1403B
Spring cleaning
*special problem
,
data structures
,
dfs and similar
,
graphs
,
trees
2300
x361
1403A
The Potion of Great Power
*special problem
,
2-sat
,
binary search
,
data structures
,
graphs
,
interactive
,
sortings
,
two pointers
2400
x288
1402C
Star Trek
*special problem
,
combinatorics
,
dfs and similar
,
dp
,
games
,
graphs
,
matrices
,
trees
2600
x200
1399F
Yet Another Segments Subset
data structures
,
dp
,
graphs
,
sortings
2300
x1569
1394B
Boboniu Walks on Graph
brute force
,
dfs and similar
,
graphs
,
hashing
2300
x1795
1392I
Kevin and Grid
fft
,
graphs
,
math
3300
x204
1391E
Pairs of Pairs
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2600
x1455
1391C
Cyclic Permutations
combinatorics
,
dp
,
graphs
,
math
1500
x14604
1389G
Directing Edges
dfs and similar
,
dp
,
graphs
,
trees
2800
x382
1388D
Captain Flint and Treasure
data structures
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2000
x6149
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1330
1385E
Directing Edges
constructive algorithms
,
dfs and similar
,
graphs
2000
x6892
1383F
Special Edges
flows
,
graphs
3200
x326
1383D
Rearrange
brute force
,
constructive algorithms
,
graphs
,
greedy
,
sortings
2800
x654
1383C
String Transformation 2
bitmasks
,
dp
,
graphs
,
trees
3100
x564
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10264
1375G
Tree Modification
brute force
,
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
trees
2800
x1682
1370F2
The Hidden Pair (Hard Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2700
x1254
1370F1
The Hidden Pair (Easy Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2400
x1376
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8302
1368G
Shifting Dominoes
data structures
,
geometry
,
graphs
,
trees
3200
x404
1368E
Ski Accidents
constructive algorithms
,
graphs
,
greedy
2500
x1994
1367E
Necklace Assembly
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
number theory
1900
x5160
1366F
Jog Around The Graph
binary search
,
dp
,
geometry
,
graphs
2700
x593
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16333
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4028
1361E
James and the Chase
dfs and similar
,
graphs
,
probabilities
,
trees
3000
x636
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1394
1361A
Johnny and Contribution
constructive algorithms
,
graphs
,
greedy
,
sortings
1700
x8168
1360E
Polygon
dp
,
graphs
,
implementation
,
shortest paths
1300
x24599
1354E
Graph Coloring
dfs and similar
,
dp
,
graphs
2100
x3122
1349C
Orac and Game of Life
dfs and similar
,
graphs
,
implementation
,
shortest paths
2000
x4284
←
1
2
3
4
5
6
...
10
11
→
User lists
Name