Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2)
3 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
dp
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
229D
Towers
dp
,
greedy
,
two pointers
2100
x2081
431D
Random Task
binary search
,
bitmasks
,
combinatorics
,
dp
,
math
2100
x2100
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2120
894E
Ralph and Mushrooms
dp
,
graphs
2100
x2131
1201D
Treasure Hunting
binary search
,
dp
,
greedy
,
implementation
2100
x2145
1839D
Ball Sorting
data structures
,
dp
,
sortings
2100
x2158
988F
Rain and Umbrellas
dp
2100
x2176
1821E
Rearrange Brackets
brute force
,
dp
,
greedy
,
sortings
,
strings
2100
x2202
1598E
Staircases
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
dp
,
implementation
,
math
2100
x2223
840B
Leha and another game about graph
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
graphs
2100
x2234
1152D
Neko and Aki's Prank
dp
,
greedy
,
trees
2100
x2239
1799D2
Hot Start Up (hard version)
data structures
,
dp
2100
x2247
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2253
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2271
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2308
1106E
Lunar New Year and Red Envelopes
data structures
,
dp
2100
x2311
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2314
1593F
Red-Black Number
dfs and similar
,
dp
,
implementation
,
math
,
meet-in-the-middle
2100
x2316
1650G
Counting Shortcuts
data structures
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2321
1216F
Wi-Fi
data structures
,
dp
,
greedy
2100
x2321
1202C
You Are Given a WASD-string...
brute force
,
data structures
,
dp
,
greedy
,
implementation
,
math
,
strings
2100
x2344
980D
Perfect Groups
dp
,
math
,
number theory
2100
x2402
1511E
Colorings and Dominoes
combinatorics
,
dp
,
greedy
,
math
2100
x2442
1767C
Count Binary Strings
data structures
,
dp
2100
x2480
1223E
Paint the Tree
dp
,
sortings
,
trees
2100
x2512
1778D
Flexible String Revisit
combinatorics
,
dp
,
math
,
probabilities
2100
x2521
1154F
Shovels Shop
dp
,
greedy
,
sortings
2100
x2534
1185G1
Playlist for Polycarp (easy version)
bitmasks
,
combinatorics
,
dp
2100
x2544
1771D
Hossam and (sub-)palindromic tree
brute force
,
data structures
,
dfs and similar
,
dp
,
strings
,
trees
2100
x2579
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2586
507E
Breaking Good
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2588
768E
Game of Stones
bitmasks
,
dp
,
games
2100
x2626
1671E
Preorder
combinatorics
,
divide and conquer
,
dp
,
dsu
,
hashing
,
sortings
,
trees
2100
x2634
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2654
960F
Pathwalks
data structures
,
dp
,
graphs
2100
x2654
525E
Anya and Cubes
binary search
,
bitmasks
,
brute force
,
dp
,
math
,
meet-in-the-middle
2100
x2716
1271D
Portals
data structures
,
dp
,
greedy
,
implementation
,
sortings
2100
x2743
1029E
Tree with Small Distances
dp
,
graphs
,
greedy
2100
x2758
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2759
1547G
How Many Paths?
dfs and similar
,
dp
,
graphs
,
trees
2100
x2762
771C
Bear and Tree Jumps
dfs and similar
,
dp
,
trees
2100
x2781
766E
Mahmoud and a xor trip
bitmasks
,
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
math
,
trees
2100
x2800
466D
Increase Sequence
combinatorics
,
dp
2100
x2816
1077F2
Pictures with Kittens (hard version)
data structures
,
dp
2100
x2843
1482E
Skyline Photo
data structures
,
divide and conquer
,
dp
2100
x2921
1472F
New Year's Puzzle
brute force
,
dp
,
graph matchings
,
greedy
,
sortings
2100
x2927
354C
Vasya and Beautiful Arrays
brute force
,
dp
,
number theory
2100
x2964
1367F1
Flying Sort (Easy Version)
dp
,
greedy
,
two pointers
2100
x2975
1628D1
Game on Sum (Easy Version)
combinatorics
,
dp
,
games
,
math
2100
x3003
1151E
Number of Components
combinatorics
,
data structures
,
dp
,
math
2100
x3018
936B
Sleepy Game
dfs and similar
,
dp
,
games
,
graphs
2100
x3024
1354E
Graph Coloring
dfs and similar
,
dp
,
graphs
2100
x3057
1271E
Common Number
binary search
,
combinatorics
,
dp
,
math
2100
x3104
985E
Pencils and Boxes
binary search
,
data structures
,
dp
,
greedy
,
two pointers
2100
x3220
1025D
Recovering BST
brute force
,
dp
,
math
,
number theory
,
trees
2100
x3294
1265E
Beautiful Mirrors
data structures
,
dp
,
math
,
probabilities
2100
x3314
1606E
Arena
combinatorics
,
dp
,
math
2100
x3320
1446C
Xor Tree
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
dp
,
trees
2100
x3376
1667B
Optimal Partition
data structures
,
dp
2100
x3458
372C
Watching Fireworks is Fun
data structures
,
dp
,
math
2100
x3612
1614D1
Divan and Kostomuksha (easy version)
dp
,
number theory
2100
x3635
734E
Anton and Tree
dfs and similar
,
dp
,
trees
2100
x3730
1393D
Rarity and New Dress
dfs and similar
,
dp
,
implementation
,
shortest paths
2100
x3764
486D
Valid Sets
dfs and similar
,
dp
,
math
,
trees
2100
x3844
1479B2
Painting the Array II
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
2100
x3885
1366E
Two Arrays
binary search
,
brute force
,
combinatorics
,
constructive algorithms
,
dp
,
two pointers
2100
x3947
1117D
Magic Gems
dp
,
math
,
matrices
2100
x3996
1516D
Cut
binary search
,
data structures
,
dp
,
graphs
,
number theory
,
two pointers
2100
x4069
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4182
1409F
Subsequences of Length Two
dp
,
strings
2100
x4259
1472G
Moving to the Capital
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x4381
1420C2
Pokémon Army (hard version)
data structures
,
divide and conquer
,
dp
,
greedy
,
implementation
2100
x4481
1006F
Xor-Paths
bitmasks
,
brute force
,
dp
,
meet-in-the-middle
2100
x4608
319C
Kalila and Dimna in the Logging Industry
dp
,
geometry
2100
x4701
837D
Round Subset
dp
,
math
2100
x4760
796D
Police Stations
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
,
trees
2100
x5102
455C
Civilization
dfs and similar
,
dp
,
dsu
,
ternary search
,
trees
2100
x5111
1372D
Omkar and Circle
brute force
,
dp
,
games
,
greedy
2100
x5282
1499D
The Number of Pairs
dp
,
math
,
number theory
2100
x5416
1312E
Array Shrinking
dp
,
greedy
2100
x5458
1433F
Zero Remainder Sum
dp
2100
x5815
519E
A and B and Lecture Rooms
binary search
,
data structures
,
dfs and similar
,
dp
,
trees
2100
x6150
1486D
Max Median
binary search
,
data structures
,
dp
2100
x6606
1187E
Tree Painting
dfs and similar
,
dp
,
trees
2100
x7357
1571F
Kotlinforces
*special problem
,
constructive algorithms
,
dp
2000
x175
774J
Stepan's Series
*special problem
,
dp
2000
x349
228C
Fractal Detector
dp
,
hashing
2000
x440
66E
Petya and Post
data structures
,
dp
2000
x680
386C
Diverse Substrings
dp
,
strings
,
two pointers
2000
x709
63E
Sweets Game
bitmasks
,
dfs and similar
,
dp
,
games
,
implementation
2000
x712
435D
Special Grid
brute force
,
dp
,
greedy
2000
x743
413D
2048
bitmasks
,
dp
2000
x748
261C
Maxim and Matrix
constructive algorithms
,
dp
,
math
2000
x758
374D
Inna and Sequence
binary search
,
data structures
,
dp
,
trees
2000
x841
119C
Education Reform
dp
2000
x849
39E
What Has Dirichlet Got to Do with That?
dp
,
games
2000
x852
1057C
Tanya and Colored Candies
*special problem
,
dp
2000
x854
251C
Number Transformation
dp
,
greedy
,
number theory
2000
x1010
18E
Flag 2
dp
2000
x1012
18D
Seller Bob
brute force
,
dp
,
greedy
2000
x1027
←
1
2
...
10
11
12
13
14
...
19
20
→
User lists
Name