Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 943 (Div. 3)
17:24:01
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
835F
Roads in the Kingdom
dfs and similar
,
dp
,
graphs
,
trees
2500
x997
274D
Lovely Matrix
dfs and similar
,
graphs
,
greedy
,
sortings
2200
x1005
125E
MST Company
binary search
,
graphs
2400
x1005
1450E
Capitalism
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2700
x1017
780F
Axel and Marston in Bitland
bitmasks
,
dp
,
graphs
,
matrices
2400
x1019
632F
Magic Matrix
brute force
,
divide and conquer
,
graphs
,
matrices
,
trees
2400
x1021
575B
Bribes
dfs and similar
,
graphs
,
trees
2200
x1038
1790G
Tokens on Graph
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2300
x1041
1301F
Super Jaber
dfs and similar
,
graphs
,
implementation
,
shortest paths
2600
x1050
557E
Ann and Half-Palindrome
data structures
,
dp
,
graphs
,
string suffix structures
,
strings
,
trees
2300
x1053
827D
Best Edge Weight
data structures
,
dfs and similar
,
graphs
,
trees
2700
x1057
1874B
Jellyfish and Math
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x1059
441D
Valera and Swaps
constructive algorithms
,
dsu
,
graphs
,
implementation
,
math
,
string suffix structures
2100
x1059
1936C
Pokémon Arena
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
2400
x1063
757F
Team Rocket Rises Again
data structures
,
graphs
,
shortest paths
2800
x1065
1949I
Disks
dfs and similar
,
geometry
,
graph matchings
,
graphs
x1069
1209F
Koala and Notebook
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
strings
,
trees
2600
x1070
808F
Card Game
binary search
,
flows
,
graphs
2400
x1070
1019C
Sergey's problem
constructive algorithms
,
graphs
3000
x1071
369D
Valera and Fools
dfs and similar
,
dp
,
graphs
,
shortest paths
2200
x1087
733F
Drivers Dissatisfaction
data structures
,
dsu
,
graphs
,
trees
2200
x1088
1404E
Bricks
flows
,
graph matchings
,
graphs
2800
x1089
802N
April Fools' Problem (medium)
binary search
,
flows
,
graphs
2400
x1090
542C
Idempotent functions
constructive algorithms
,
graphs
,
math
2000
x1096
1632E1
Distance Tree (easy version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
trees
2400
x1108
33D
Knights
geometry
,
graphs
,
shortest paths
,
sortings
2000
x1128
901C
Bipartite Segments
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
two pointers
2300
x1132
1697E
Coloring
brute force
,
combinatorics
,
constructive algorithms
,
dp
,
geometry
,
graphs
,
greedy
,
implementation
,
math
2400
x1135
825G
Tree Queries
dfs and similar
,
graphs
,
trees
2500
x1142
1738F
Connectivity Addicts
constructive algorithms
,
dsu
,
graphs
,
greedy
,
interactive
,
shortest paths
,
trees
2400
x1147
1689E
ANDfinity
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1147
1137C
Museums Tour
dp
,
graphs
,
implementation
2500
x1154
1556F
Sports Betting
bitmasks
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
2500
x1164
272E
Dima and Horses
combinatorics
,
constructive algorithms
,
graphs
2200
x1171
243B
Hydra
graphs
,
sortings
2000
x1176
593D
Happy Tree Party
data structures
,
dfs and similar
,
graphs
,
math
,
trees
2400
x1178
1879E
Interactive Game with Coloring
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
,
interactive
,
trees
2400
x1179
906C
Party
bitmasks
,
brute force
,
dp
,
graphs
2400
x1179
772C
Vulnerable Kerbals
constructive algorithms
,
dp
,
graphs
,
math
,
number theory
2300
x1183
280D
k-Maximum Subsequence Sum
data structures
,
flows
,
graphs
,
implementation
2800
x1187
1765H
Hospital Queue
binary search
,
graphs
,
greedy
,
implementation
2200
x1188
1823E
Removing Graph
brute force
,
dp
,
games
,
graphs
,
math
2500
x1189
1534F1
Falling Sand (Easy Version)
dfs and similar
,
graphs
,
greedy
2500
x1190
1495D
BFS Trees
combinatorics
,
dfs and similar
,
graphs
,
math
,
shortest paths
,
trees
2600
x1190
420C
Bug in Code
data structures
,
graphs
,
implementation
,
two pointers
1900
x1194
962F
Simple Cycles Edges
dfs and similar
,
graphs
,
trees
2400
x1207
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1211
813F
Bipartite Checking
data structures
,
dsu
,
graphs
2500
x1212
700C
Break Up
dfs and similar
,
graphs
2600
x1213
1042F
Leaf Sets
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1237
1370F2
The Hidden Pair (Hard Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2700
x1240
875F
Royal Questions
dsu
,
graphs
,
greedy
2500
x1247
1662O
Circular Maze
brute force
,
dfs and similar
,
graphs
,
implementation
x1260
1120D
Power Tree
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
trees
2500
x1262
1860E
Fast Travel Text Editor
data structures
,
dfs and similar
,
graphs
,
shortest paths
2400
x1296
464E
The Classic Problem
data structures
,
graphs
,
shortest paths
3000
x1302
746G
New Roads
constructive algorithms
,
graphs
,
trees
2100
x1309
260D
Black and White Tree
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
2100
x1310
1039C
Network Safety
dfs and similar
,
dsu
,
graphs
,
math
,
sortings
2200
x1312
1310D
Tourism
dp
,
graphs
,
probabilities
2300
x1316
1385G
Columns Swaps
2-sat
,
dfs and similar
,
dsu
,
graphs
,
implementation
2300
x1323
405E
Graph Cutting
dfs and similar
,
graphs
2300
x1328
821D
Okabe and City
dfs and similar
,
graphs
,
shortest paths
2200
x1340
1608D
Dominoes
combinatorics
,
fft
,
graphs
,
math
,
number theory
2400
x1347
1439B
Graph Subset Problem
constructive algorithms
,
data structures
,
graphs
2600
x1353
1804E
Routing
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
2400
x1354
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1356
1370F1
The Hidden Pair (Easy Version)
binary search
,
dfs and similar
,
graphs
,
interactive
,
shortest paths
,
trees
2400
x1360
908F
New Year and Rainbow Roads
graphs
,
greedy
,
implementation
2400
x1369
653E
Bear and Forgotten Tree 2
dfs and similar
,
dsu
,
graphs
,
trees
2400
x1376
1528D
It's a bird! No, it's a plane! No, it's AaParsa!
constructive algorithms
,
graphs
,
shortest paths
2500
x1381
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1382
883G
Orientation of Edges
dfs and similar
,
graphs
1900
x1383
95E
Lucky Country
dp
,
dsu
,
graphs
2500
x1383
1707C
DFS Trees
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1385
416E
President's Path
dp
,
graphs
,
shortest paths
2500
x1387
1615E
Purple Crayon
data structures
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1398
1741G
Kirill and Company
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
,
graphs
,
shortest paths
2200
x1416
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1419
1210D
Konrad and Company Evaluation
graphs
2400
x1426
1391E
Pairs of Pairs
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
trees
2600
x1430
190E
Counter Attack
data structures
,
dsu
,
graphs
,
hashing
,
sortings
2100
x1431
1227E
Arson In Berland Forest
binary search
,
graphs
,
graphs
,
shortest paths
2200
x1435
1174F
Ehab and the Big Finale
constructive algorithms
,
divide and conquer
,
graphs
,
implementation
,
interactive
,
trees
2400
x1435
723F
st-Spanning Tree
dsu
,
graphs
,
greedy
,
implementation
2300
x1440
1463E
Plan of Lectures
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
2400
x1443
76A
Gift
dsu
,
graphs
,
sortings
,
trees
2200
x1443
662B
Graph Coloring
dfs and similar
,
graphs
2200
x1444
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1451
1633E
Spanning Tree Queries
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1455
1659E
AND-MEX Walk
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2200
x1456
1444C
Team-Building
data structures
,
dfs and similar
,
dsu
,
graphs
2500
x1456
1242C
Sum Balance
bitmasks
,
dfs and similar
,
dp
,
graphs
2400
x1466
156D
Clues
combinatorics
,
graphs
2500
x1468
1482F
Useful Edges
graphs
,
shortest paths
2400
x1469
858F
Wizard's Tour
constructive algorithms
,
dfs and similar
,
graphs
2300
x1473
549B
Looksery Party
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
2300
x1475
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1481
638C
Road Improvement
*special problem
,
dfs and similar
,
graphs
,
greedy
,
trees
1800
x1482
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1485
←
1
2
3
4
5
6
7
...
10
11
→
User lists
Name