Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2)
4 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
shortest paths
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
1725M
Moving Both Hands
dp
,
graphs
,
shortest paths
1800
x2817
1941G
Rudolf and Subway
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2000
x2788
400D
Dima and Bacteria
dsu
,
graphs
,
shortest paths
2000
x2788
1486E
Paired Payment
binary search
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graphs
,
shortest paths
2200
x2780
95C
Volleyball
shortest paths
1900
x2664
715B
Complete The Graph
binary search
,
constructive algorithms
,
graphs
,
shortest paths
2300
x2652
1051F
The Shortest Statement
graphs
,
shortest paths
,
trees
2400
x2647
1887B
Time Travel
binary search
,
graphs
,
shortest paths
1900
x2636
590C
Three States
dfs and similar
,
graphs
,
shortest paths
2200
x2601
507E
Breaking Good
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2588
1422D
Returning Home
graphs
,
shortest paths
,
sortings
2300
x2582
253C
Text Editor
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
1600
x2514
1067B
Multihedgehog
dfs and similar
,
graphs
,
shortest paths
1800
x2504
1693C
Keshi in Search of AmShZ
graphs
,
greedy
,
shortest paths
2300
x2422
1536E
Omkar and Forest
combinatorics
,
graphs
,
math
,
shortest paths
2300
x2331
1650G
Counting Shortcuts
data structures
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2321
1196F
K-th Path
brute force
,
constructive algorithms
,
shortest paths
,
sortings
2200
x2295
1070A
Find a Number
dp
,
graphs
,
number theory
,
shortest paths
2200
x2257
1627E
Not Escaping
data structures
,
dp
,
implementation
,
shortest paths
,
two pointers
2200
x2213
1870E
Another MEX Problem
bitmasks
,
brute force
,
dp
,
shortest paths
2300
x2184
1043F
Make It One
bitmasks
,
combinatorics
,
dp
,
math
,
number theory
,
shortest paths
2500
x2164
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2119
301B
Yaroslav and Time
binary search
,
graphs
,
shortest paths
2100
x2103
769C
Cycle In Maze
*special problem
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
1700
x2093
666B
World Tour
graphs
,
shortest paths
2000
x2056
1801D
The way home
binary search
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x2021
1340C
Nastya and Unexpected Guest
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x2016
788C
The Great Mixing
dfs and similar
,
graphs
,
shortest paths
2300
x1999
912D
Fishes
data structures
,
graphs
,
greedy
,
probabilities
,
shortest paths
2100
x1932
187B
AlgoRace
dp
,
shortest paths
1800
x1916
1534E
Lost Array
graphs
,
greedy
,
interactive
,
shortest paths
2300
x1839
676D
Theseus and labyrinth
graphs
,
implementation
,
shortest paths
2000
x1823
1737D
Ela and the Wiring Wizard
brute force
,
dp
,
graphs
,
greedy
,
implementation
,
shortest paths
2200
x1803
1325E
Ehab's REAL Number Theory Problem
brute force
,
dfs and similar
,
graphs
,
number theory
,
shortest paths
2600
x1795
208C
Police Station
dp
,
graphs
,
shortest paths
1900
x1774
1505E
Cakewalk
*special problem
,
greedy
,
implementation
,
shortest paths
1800
x1716
1753D
The Beach
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2400
x1655
295C
Greg and Friends
combinatorics
,
dp
,
graphs
,
shortest paths
2100
x1652
525D
Arthur and Walls
constructive algorithms
,
data structures
,
graphs
,
greedy
,
shortest paths
2400
x1629
567E
President and Roads
dfs and similar
,
graphs
,
hashing
,
shortest paths
2200
x1599
1407E
Egor in the Republic of Dagestan
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
2500
x1597
1005F
Berland and the Shortest Paths
brute force
,
dfs and similar
,
graphs
,
shortest paths
2100
x1593
1715E
Long Way Home
data structures
,
divide and conquer
,
dp
,
geometry
,
graphs
,
greedy
,
shortest paths
2400
x1590
1749E
Cactus Wall
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2400
x1589
1442C
Graph Transpositions
dfs and similar
,
graphs
,
greedy
,
shortest paths
2400
x1574
1253F
Cheap Robot
binary search
,
dsu
,
graphs
,
shortest paths
,
trees
2500
x1572
793D
Presents in Bankopolis
dp
,
graphs
,
shortest paths
2100
x1570
677D
Vanya and Treasure
data structures
,
dp
,
graphs
,
shortest paths
2300
x1518
1482F
Useful Edges
graphs
,
shortest paths
2400
x1462
1197E
Culture Code
binary search
,
combinatorics
,
data structures
,
dp
,
shortest paths
,
sortings
2300
x1446
1227E
Arson In Berland Forest
binary search
,
graphs
,
graphs
,
shortest paths
2200
x1432
1741G
Kirill and Company
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
,
graphs
,
shortest paths
2200
x1402
416E
President's Path
dp
,
graphs
,
shortest paths
2500
x1386
1528D
It's a bird! No, it's a plane! No, it's AaParsa!
constructive algorithms
,
graphs
,
shortest paths
2500
x1376
1370F1
The Hidden Pair (Easy Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2400
x1346
821D
Okabe and City
dfs and similar
,
graphs
,
shortest paths
2200
x1337
605E
Intergalaxy Trips
probabilities
,
shortest paths
2700
x1313
1860E
Fast Travel Text Editor
data structures
,
dfs and similar
,
graphs
,
shortest paths
2400
x1287
1666J
Job Lookup
constructive algorithms
,
dp
,
shortest paths
,
trees
2100
x1287
464E
The Classic Problem
data structures
,
graphs
,
shortest paths
3000
x1275
366D
Dima and Trap Graph
binary search
,
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
two pointers
2000
x1266
1065D
Three Pieces
dfs and similar
,
dp
,
shortest paths
2200
x1265
1842F
Tenzing and Tree
dfs and similar
,
greedy
,
shortest paths
,
sortings
,
trees
2500
x1228
1370F2
The Hidden Pair (Hard Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2700
x1223
1495D
BFS Trees
combinatorics
,
dfs and similar
,
graphs
,
math
,
shortest paths
,
trees
2600
x1187
1738F
Connectivity Addicts
constructive algorithms
,
dsu
,
graphs
,
greedy
,
interactive
,
shortest paths
,
trees
2400
x1139
33D
Knights
geometry
,
graphs
,
shortest paths
,
sortings
2000
x1125
1245E
Hyakugoku and Ladders
dp
,
probabilities
,
shortest paths
2300
x1106
1632E1
Distance Tree (easy version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
trees
2400
x1105
369D
Valera and Fools
dfs and similar
,
dp
,
graphs
,
shortest paths
2200
x1083
1209F
Koala and Notebook
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
strings
,
trees
2600
x1063
757F
Team Rocket Rises Again
data structures
,
graphs
,
shortest paths
2800
x1063
1874B
Jellyfish and Math
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x1045
1790G
Tokens on Graph
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2300
x1036
1301F
Super Jaber
dfs and similar
,
graphs
,
implementation
,
shortest paths
2600
x1035
1936C
Pokémon Arena
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
2400
x1025
1450E
Capitalism
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2700
x1008
1004E
Sonya and Ice Cream
binary search
,
data structures
,
dp
,
greedy
,
shortest paths
,
trees
2400
x1005
241E
Flights
graphs
,
shortest paths
2600
x985
1662F
Antennas
data structures
,
dfs and similar
,
graphs
,
graphs
,
implementation
,
implementation
,
shortest paths
,
shortest paths
x955
852D
Exploration plan
binary search
,
flows
,
graph matchings
,
shortest paths
2100
x942
79D
Password
bitmasks
,
dp
,
shortest paths
2800
x934
1632E2
Distance Tree (hard version)
binary search
,
dfs and similar
,
shortest paths
,
trees
2700
x923
1184E2
Daleks' Invasion (medium)
dfs and similar
,
graphs
,
shortest paths
,
trees
2100
x894
575G
Run for beer
dfs and similar
,
shortest paths
2200
x865
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x862
141D
Take-off Ramps
graphs
,
shortest paths
2300
x860
29E
Quarrel
graphs
,
shortest paths
2400
x849
1932G
Moving Platforms
graphs
,
math
,
number theory
,
shortest paths
2300
x847
1804F
Approximate Diameter
binary search
,
divide and conquer
,
graphs
,
shortest paths
2700
x844
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x825
196E
Opening Portals
dsu
,
graphs
,
shortest paths
2600
x824
1163F
Indecisive Taxi Fee
data structures
,
graphs
,
shortest paths
3000
x812
755E
PolandBall and White-Red graph
constructive algorithms
,
graphs
,
shortest paths
2400
x806
542E
Playing on Graph
graphs
,
shortest paths
2600
x805
983C
Elevator
dp
,
graphs
,
shortest paths
2400
x800
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x796
362E
Petya and Pipes
flows
,
graphs
,
shortest paths
2300
x792
1648D
Serious Business
data structures
,
divide and conquer
,
dp
,
implementation
,
shortest paths
2800
x771
843D
Dynamic Shortest Path
graphs
,
shortest paths
3400
x743
←
1
2
3
→
User lists
Name