Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 945 (Div. 2)
42:52:58
Register now »
*has extra registration
→ 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
1506F
Triangular Paths
constructive algorithms
,
graphs
,
math
,
shortest paths
,
sortings
2000
x3103
1503F
Balance the Cards
constructive algorithms
,
data structures
,
divide and conquer
,
geometry
,
graphs
,
implementation
3500
x134
1499G
Graph Coloring
data structures
,
graphs
,
interactive
3100
x186
1498E
Two Houses
brute force
,
graphs
,
greedy
,
interactive
,
sortings
2200
x1839
1498D
Bananas in a Microwave
dfs and similar
,
dp
,
graphs
,
implementation
2200
x2250
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1483
1495F
Squares
constructive algorithms
,
data structures
,
dp
,
graphs
,
trees
3300
x281
1495D
BFS Trees
combinatorics
,
dfs and similar
,
graphs
,
math
,
shortest paths
,
trees
2600
x1191
1495C
Garden of the Sun
constructive algorithms
,
graphs
2300
x2501
1494F
Delete The Edges
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
2900
x330
1494E
A-Z Graph
constructive algorithms
,
data structures
,
graphs
,
hashing
2400
x1663
1491G
Switch and Flip
constructive algorithms
,
graphs
,
math
2800
x727
1487E
Cheap Dinner
brute force
,
data structures
,
graphs
,
greedy
,
implementation
,
sortings
,
two pointers
2000
x4370
1487C
Minimum Ties
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
math
1500
x13708
1486E
Paired Payment
binary search
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graphs
,
shortest paths
2200
x2796
1485D
Multiples and Power Differences
constructive algorithms
,
graphs
,
math
,
number theory
2200
x4944
1482F
Useful Edges
graphs
,
shortest paths
2400
x1472
1481D
AB Graph
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2000
x4400
1477D
Nezzar and Hidden Permutations
constructive algorithms
,
dfs and similar
,
graphs
2800
x532
1476E
Pattern Matching
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
hashing
,
sortings
,
strings
2300
x2248
1476C
Longest Simple Cycle
dp
,
graphs
,
greedy
1600
x11063
1475C
Ball in Berland
combinatorics
,
graphs
,
math
1400
x20002
1473E
Minimum Path
graphs
,
shortest paths
2400
x3314
1472G
Moving to the Capital
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x4410
1472C
Long Jumps
dp
,
graphs
1100
x30076
1470E
Strange Permutation
binary search
,
combinatorics
,
data structures
,
dp
,
graphs
,
implementation
,
two pointers
3200
x293
1470D
Strange Housing
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
greedy
2200
x3581
1470B
Strange Definition
bitmasks
,
graphs
,
hashing
,
math
,
number theory
1900
x6153
1468M
Similar Sets
data structures
,
graphs
,
implementation
2300
x907
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x3919
1466H
Finding satisfactory solutions
combinatorics
,
dp
,
graphs
,
greedy
,
math
3300
x261
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2794
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1455
1461E
Water Level
brute force
,
graphs
,
greedy
,
implementation
,
math
2200
x2061
1458D
Flip and Reverse
data structures
,
graphs
,
greedy
3100
x978
1454E
Number of Simple Paths
combinatorics
,
dfs and similar
,
graphs
,
trees
2000
x5518
1450E
Capitalism
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2700
x1018
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1459
1442C
Graph Transpositions
dfs and similar
,
graphs
,
greedy
,
shortest paths
2400
x1580
1439B
Graph Subset Problem
constructive algorithms
,
data structures
,
graphs
2600
x1356
1439A2
Binary Table (Hard Version)
constructive algorithms
,
graphs
,
greedy
,
implementation
1900
x4953
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12323
1436D
Bandit in a City
binary search
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x5853
1433G
Reducing Delivery Cost
brute force
,
graphs
,
shortest paths
2100
x4123
1430G
Yet Another DAG Problem
bitmasks
,
dfs and similar
,
dp
,
flows
,
graphs
,
math
2600
x626
1428B
Belted Rooms
graphs
,
implementation
1200
x14179
1427G
One Billion Shades of Grey
flows
,
graphs
3300
x257
1424M
Ancient Language
graphs
,
sortings
2200
x521
1423H
Virus
data structures
,
divide and conquer
,
dsu
,
graphs
2500
x509
1423C
Dušan's Railway
divide and conquer
,
graphs
,
trees
3500
x130
1423B
Valuable Paper
binary search
,
flows
,
graph matchings
,
graphs
1900
x1772
1422D
Returning Home
graphs
,
shortest paths
,
sortings
2300
x2591
1419F
Rain of Fire
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
2800
x474
1418C
Mortal Kombat Tower
dp
,
graphs
,
greedy
,
shortest paths
1500
x18249
1416D
Graph and Queries
data structures
,
dsu
,
graphs
,
implementation
,
trees
2600
x1873
1411C
Peaceful Rooks
dfs and similar
,
dsu
,
graphs
1700
x7773
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x926
1408E
Avoid Rainbow Cycles
data structures
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1877
1407E
Egor in the Republic of Dagestan
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
2500
x1604
1407D
Discrete Centrifugal Jumps
data structures
,
dp
,
graphs
2200
x4632
1406C
Link Cut Centroids
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9831
1404E
Bricks
flows
,
graph matchings
,
graphs
2800
x1094
1403B
Spring cleaning
*special problem
,
data structures
,
dfs and similar
,
graphs
,
trees
2300
x358
1403A
The Potion of Great Power
*special problem
,
2-sat
,
binary search
,
data structures
,
graphs
,
interactive
,
sortings
,
two pointers
2400
x286
1402C
Star Trek
*special problem
,
combinatorics
,
dfs and similar
,
dp
,
games
,
graphs
,
matrices
,
trees
2600
x198
1399F
Yet Another Segments Subset
data structures
,
dp
,
graphs
,
sortings
2300
x1561
1394B
Boboniu Walks on Graph
brute force
,
dfs and similar
,
graphs
,
hashing
2300
x1791
1392I
Kevin and Grid
fft
,
graphs
,
math
3300
x203
1391E
Pairs of Pairs
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2600
x1433
1391C
Cyclic Permutations
combinatorics
,
dp
,
graphs
,
math
1500
x14558
1389G
Directing Edges
dfs and similar
,
dp
,
graphs
,
trees
2800
x381
1388D
Captain Flint and Treasure
data structures
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2000
x6124
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1327
1385E
Directing Edges
constructive algorithms
,
dfs and similar
,
graphs
2000
x6829
1383F
Special Edges
flows
,
graphs
3200
x321
1383D
Rearrange
brute force
,
constructive algorithms
,
graphs
,
greedy
,
sortings
2800
x640
1383C
String Transformation 2
bitmasks
,
dp
,
graphs
,
trees
3100
x561
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10239
1375G
Tree Modification
brute force
,
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
trees
2800
x1645
1370F2
The Hidden Pair (Hard Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2700
x1246
1370F1
The Hidden Pair (Easy Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2400
x1367
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8269
1368G
Shifting Dominoes
data structures
,
geometry
,
graphs
,
trees
3200
x398
1368E
Ski Accidents
constructive algorithms
,
graphs
,
greedy
2500
x1940
1367E
Necklace Assembly
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
number theory
1900
x5131
1366F
Jog Around The Graph
binary search
,
dp
,
geometry
,
graphs
2700
x590
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16182
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4016
1361E
James and the Chase
dfs and similar
,
graphs
,
probabilities
,
trees
3000
x627
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1385
1361A
Johnny and Contribution
constructive algorithms
,
graphs
,
greedy
,
sortings
1700
x8156
1360E
Polygon
dp
,
graphs
,
implementation
,
shortest paths
1300
x24444
1354E
Graph Coloring
dfs and similar
,
dp
,
graphs
2100
x3062
1349C
Orac and Game of Life
dfs and similar
,
graphs
,
implementation
,
shortest paths
2000
x4236
1348F
Phoenix and Memory
data structures
,
dfs and similar
,
graphs
,
greedy
2600
x773
1346E
Magic Tricks
*special problem
,
dp
,
graphs
1700
x369
1346D
Constructing the Dungeon
*special problem
,
graphs
,
greedy
1600
x478
1344C
Quantifier Question
dfs and similar
,
dp
,
graphs
,
math
2600
x1640
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x5775
1343E
Weights Distributing
brute force
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x4815
←
1
2
3
4
5
6
...
10
11
→
User lists
Name