Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
00:33:06
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
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
1661F
Teleporters
binary search
,
greedy
2600
x604
1661E
Narrow Components
brute force
,
data structures
,
dp
,
dsu
,
math
,
trees
2500
x958
1661D
Progressions Covering
data structures
,
greedy
1900
x4790
1661C
Water the Trees
binary search
,
greedy
,
math
1700
x9414
1660F2
Promising String (hard version)
data structures
,
implementation
,
math
,
strings
2100
x2744
1660F1
Promising String (easy version)
brute force
,
implementation
,
math
,
strings
1700
x7325
1660E
Matrix and Shifts
brute force
,
constructive algorithms
,
greedy
,
implementation
1600
x7367
1660D
Maximum Product Strikes Back
brute force
,
implementation
,
math
,
two pointers
1600
x8746
1659F
Tree and Permutation Game
dfs and similar
,
games
,
graphs
,
trees
3000
x192
1659E
AND-MEX Walk
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2200
x1604
1659D
Reverse Sort Sum
constructive algorithms
,
data structures
,
greedy
,
implementation
,
math
,
two pointers
1900
x4039
1659C
Line Empire
binary search
,
brute force
,
dp
,
greedy
,
implementation
,
math
1500
x10670
1658F
Juju and Binary String
brute force
,
constructive algorithms
,
greedy
,
math
2700
x773
1658E
Gojou and Matrix Game
data structures
,
dp
,
games
,
hashing
,
implementation
,
math
,
number theory
,
sortings
2500
x1057
1658D2
388535 (Hard Version)
bitmasks
,
brute force
,
data structures
,
math
2300
x2589
1658D1
388535 (Easy Version)
bitmasks
,
math
1600
x9155
1658C
Shinju and the Lost Permutation
constructive algorithms
,
math
1700
x9388
1657F
Words on Tree
2-sat
,
dfs and similar
,
dsu
,
graphs
,
trees
2600
x579
1657E
Star MST
combinatorics
,
dp
,
graph matchings
,
math
2200
x2131
1657D
For Gamers. By Gamers.
binary search
,
brute force
,
greedy
,
math
,
sortings
2000
x4923
1656I
Neighbour Ordering
constructive algorithms
,
graphs
3500
x105
1656H
Equal LCM Subsets
data structures
,
math
,
number theory
3200
x595
1656G
Cycle Palindrome
constructive algorithms
,
graphs
,
math
3200
x385
1656F
Parametric MST
binary search
,
constructive algorithms
,
graphs
,
greedy
,
math
,
sortings
2600
x1069
1656E
Equal Tree Sums
constructive algorithms
,
dfs and similar
,
math
,
trees
2200
x3473
1656D
K-good
constructive algorithms
,
math
,
number theory
1900
x6903
1654H
Three Minimums
combinatorics
,
constructive algorithms
,
divide and conquer
,
dp
,
fft
,
math
3500
x79
1654G
Snowy Mountain
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
trees
2900
x406
1654F
Minimal String Xoration
bitmasks
,
data structures
,
divide and conquer
,
greedy
,
hashing
,
sortings
,
strings
2800
x1211
1654E
Arithmetic Operations
brute force
,
data structures
,
graphs
,
math
2300
x2103
1654D
Potion Brewing Class
dfs and similar
,
math
,
number theory
,
trees
2100
x2865
1654C
Alice and the Cake
data structures
,
greedy
,
implementation
,
sortings
1400
x13561
1651F
Tower Defense
binary search
,
brute force
,
data structures
3000
x381
1651E
Sum of Matchings
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
graph matchings
,
greedy
,
math
2600
x523
1651D
Nearest Excluded Points
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
1900
x5190
1651C
Fault-tolerant Network
brute force
,
data structures
,
implementation
1500
x10765
1650G
Counting Shortcuts
data structures
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2526
1650F
Vitaly and Advanced Useless Algorithms
dp
,
greedy
,
implementation
2200
x1496
1650E
Rescheduling the Exam
binary search
,
data structures
,
greedy
,
implementation
,
math
,
sortings
1900
x4170
1648F
Two Avenues
data structures
,
dfs and similar
,
graphs
3500
x135
1648E
Air Reform
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
implementation
,
trees
3200
x414
1648D
Serious Business
data structures
,
divide and conquer
,
dp
,
implementation
,
shortest paths
2800
x890
1648C
Tyler and Strings
combinatorics
,
data structures
,
implementation
1900
x2996
1648B
Integral Array
brute force
,
constructive algorithms
,
data structures
,
math
1800
x6485
1648A
Weird Sum
combinatorics
,
data structures
,
geometry
,
math
,
matrices
,
sortings
1400
x13119
1647F
Madoka and Laziness
dp
,
greedy
3100
x457
1647E
Madoka and the Sixth-graders
data structures
,
dfs and similar
,
greedy
2500
x997
1647D
Madoka and the Best School in Russia
constructive algorithms
,
dp
,
math
,
number theory
1900
x5314
1646F
Playing Around the Table
constructive algorithms
,
greedy
,
implementation
2900
x529
1646E
Power Board
brute force
,
dp
,
math
,
number theory
2200
x2472
1646D
Weight the Tree
constructive algorithms
,
dfs and similar
,
dp
,
implementation
,
trees
2000
x3795
1646C
Factorials and Powers of Two
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
math
1500
x14313
1644F
Basis
combinatorics
,
fft
,
math
,
number theory
2900
x329
1644E
Expand the Path
brute force
,
combinatorics
,
data structures
,
implementation
,
math
1900
x3123
1644D
Cross Coloring
data structures
,
implementation
,
math
1700
x7305
1644C
Increase Subarray Sums
brute force
,
dp
,
greedy
,
implementation
1400
x13860
1641F
Covering Circle
geometry
3500
x101
1641E
Special Positions
combinatorics
,
divide and conquer
,
fft
,
math
3300
x210
1641D
Two Arrays
bitmasks
,
brute force
,
combinatorics
,
greedy
,
hashing
,
math
,
two pointers
2700
x1182
1641C
Anonymity Is Important
binary search
,
brute force
,
data structures
,
dsu
,
greedy
,
sortings
2200
x2493
1641B
Repetitions Decoding
constructive algorithms
,
implementation
,
sortings
2000
x3825
1638F
Two Posters
brute force
,
data structures
,
greedy
,
two pointers
3200
x227
1638E
Colorful Operations
brute force
,
data structures
,
implementation
2400
x1943
1638D
Big Brush
constructive algorithms
,
data structures
,
greedy
,
implementation
2000
x4226
1637H
Minimize Inversions Number
data structures
,
greedy
,
math
,
sortings
3500
x325
1637G
Birthday
constructive algorithms
,
greedy
,
math
3000
x516
1637F
Towers
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2500
x1792
1637E
Best Pair
binary search
,
brute force
,
implementation
2100
x3384
1637D
Yet Another Minimization Problem
dp
,
greedy
,
math
1800
x7808
1635F
Closest Pair
data structures
,
greedy
2800
x1136
1635E
Cars
2-sat
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
2200
x2253
1635D
Infinite Set
bitmasks
,
dp
,
math
,
matrices
,
number theory
,
strings
1800
x6299
1634F
Fibonacci Additions
brute force
,
data structures
,
hashing
,
implementation
,
math
2700
x1615
1634E
Fair Share
constructive algorithms
,
data structures
,
dfs and similar
,
graph matchings
,
graphs
2400
x1729
1634D
Finding Zero
constructive algorithms
,
interactive
,
math
2000
x4405
1634B
Fortune Telling
bitmasks
,
math
1400
x16815
1633F
Perfect Matching
data structures
,
divide and conquer
,
interactive
,
trees
2800
x322
1633E
Spanning Tree Queries
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1554
1633D
Make Them Equal
dp
,
greedy
1600
x14258
1632E2
Distance Tree (hard version)
binary search
,
dfs and similar
,
shortest paths
,
trees
2700
x999
1632E1
Distance Tree (easy version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
trees
2400
x1179
1632D
New Year Concert
binary search
,
data structures
,
greedy
,
math
,
number theory
,
two pointers
2000
x4725
1632C
Strange Test
binary search
,
bitmasks
,
brute force
,
dp
,
math
1600
x12814
1630F
Making It Bipartite
flows
,
graph matchings
,
graphs
,
number theory
3400
x584
1630E
Expected Components
combinatorics
,
math
,
number theory
,
probabilities
2900
x441
1630D
Flipping Range
constructive algorithms
,
dp
,
greedy
,
number theory
2400
x1660
1630C
Paint the Middle
dp
,
greedy
,
sortings
,
two pointers
2200
x2957
1630B
Range and Partition
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x5795
1630A
And Matching
bitmasks
,
constructive algorithms
1500
x14631
1628F
Spaceship Crisis Management
binary search
,
data structures
,
geometry
,
sortings
3500
x89
1628E
Groceries in Meteor Town
binary search
,
data structures
,
dsu
,
trees
3100
x905
1628D2
Game on Sum (Hard Version)
combinatorics
,
dp
,
games
,
math
2400
x2158
1628D1
Game on Sum (Easy Version)
combinatorics
,
dp
,
games
,
math
2100
x3214
1628C
Grid Xor
constructive algorithms
,
greedy
,
implementation
,
interactive
,
math
2300
x3211
1628B
Peculiar Movie Preferences
greedy
,
strings
1700
x11686
1628A
Meximum Array
binary search
,
constructive algorithms
,
greedy
,
implementation
,
math
,
two pointers
1400
x15734
1627F
Not Splitting
geometry
,
graphs
,
greedy
,
implementation
,
shortest paths
2700
x591
1627E
Not Escaping
data structures
,
dp
,
implementation
,
shortest paths
,
two pointers
2200
x2413
1627D
Not Adding
brute force
,
dp
,
math
,
number theory
1900
x8374
1627C
Not Assigning
constructive algorithms
,
dfs and similar
,
number theory
,
trees
1400
x14619
←
1
2
...
13
14
15
16
17
...
69
70
→
User lists
Name