Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
08:23:39
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
greedy
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
1592E
Bored Bakry
bitmasks
,
greedy
,
math
,
two pointers
2400
x1659
1592A
Gamer Hemose
binary search
,
greedy
,
math
,
sortings
800
x22369
1585C
Minimize Distance
greedy
1300
x12123
1585B
Array Eversion
greedy
900
x15205
1584F
Strange LCS
bitmasks
,
dp
,
graphs
,
greedy
,
strings
2600
x986
1584E
Game with Stones
binary search
,
data structures
,
games
,
greedy
2300
x1296
1584C
Two Arrays
greedy
,
math
,
sortings
900
x16479
1584B
Coloring Rectangles
greedy
,
math
1000
x13403
1583E
Moment of Bloom
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
greedy
,
trees
2200
x2238
1583D
Omkar and the Meaning of Life
constructive algorithms
,
greedy
,
interactive
1800
x5424
1582F2
Korney Korneevich and XOR (hard version)
binary search
,
brute force
,
dp
,
greedy
,
two pointers
2400
x1845
1582F1
Korney Korneevich and XOR (easy version)
bitmasks
,
dp
,
greedy
1800
x5681
1582E
Pchelyonok and Segments
binary search
,
data structures
,
dp
,
greedy
,
math
2000
x3784
1582C
Grandma Capa Knits a Scarf
brute force
,
data structures
,
greedy
,
strings
,
two pointers
1200
x15903
1581B
Diameter of Graph
constructive algorithms
,
graphs
,
greedy
,
math
1200
x11460
1580D
Subsequence
brute force
,
divide and conquer
,
dp
,
greedy
,
trees
2900
x903
1580A
Portal
brute force
,
data structures
,
dp
,
greedy
,
implementation
1700
x3696
1579E2
Array Optimization by Deque
data structures
,
greedy
1700
x6710
1579E1
Permutation Minimization by Deque
constructive algorithms
,
greedy
,
math
1000
x21802
1579D
Productive Meeting
constructive algorithms
,
graphs
,
greedy
1400
x16175
1579C
Ticks
greedy
,
implementation
1500
x10623
1578L
Labyrinth
binary search
,
dsu
,
greedy
2400
x1172
1574D
The Strongest Build
binary search
,
brute force
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
hashing
,
implementation
2000
x4520
1574C
Slay the Dragon
binary search
,
greedy
,
sortings
,
ternary search
1300
x17229
1574B
Combinatorics Homework
combinatorics
,
greedy
,
math
1100
x17354
1573B
Swaps
greedy
,
math
,
sortings
1400
x14642
1573A
Countdown
greedy
800
x21203
1572D
Bridge Club
flows
,
graph matchings
,
graphs
,
greedy
2800
x512
1572C
Paint
dp
,
greedy
2700
x1498
1572B
Xor of 3
brute force
,
constructive algorithms
,
greedy
,
two pointers
2500
x1851
1571E
Fix the String
*special problem
,
bitmasks
,
dp
,
greedy
1700
x340
1567D
Expression Evaluation Error
constructive algorithms
,
greedy
,
implementation
,
math
2000
x4536
1567B
MEXor Mixup
bitmasks
,
greedy
1000
x23412
1566G
Four Vertices
constructive algorithms
,
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
3100
x343
1566F
Points Movement
data structures
,
dp
,
greedy
,
implementation
,
sortings
2600
x959
1566E
Buds Re-hanging
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2000
x4160
1566D2
Seating Arrangements (hard version)
data structures
,
greedy
,
implementation
,
sortings
,
two pointers
1600
x7885
1566D1
Seating Arrangements (easy version)
data structures
,
greedy
,
sortings
1100
x14044
1566C
MAX-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
1000
x17665
1566B
MIN-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
800
x19743
1566A
Median Maximization
binary search
,
greedy
,
math
800
x23500
1562E
Rescue Niwen!
dp
,
greedy
,
string suffix structures
,
strings
2500
x1418
1562A
The Miracle and the Sleeper
greedy
,
math
800
x25670
1561C
Deep Down Below
binary search
,
greedy
,
sortings
1300
x14936
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4422
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x6178
1560D
Make a Power of Two
greedy
,
math
,
strings
1300
x18273
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2670
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13958
1559B
Mocha and Red and Blue
dp
,
greedy
900
x22646
1558E
Down Below
binary search
,
dfs and similar
,
graphs
,
greedy
,
meet-in-the-middle
,
shortest paths
3000
x477
1558C
Bottom-Tier Reversals
constructive algorithms
,
greedy
2000
x3303
1557D
Ezzat and Grid
data structures
,
dp
,
greedy
2200
x2570
1557B
Moamen and k-subarrays
greedy
,
sortings
1100
x23525
1556H
DIY Tree
graphs
,
greedy
,
math
,
probabilities
3300
x371
1556E
Equilibrium
data structures
,
dp
,
greedy
2200
x2728
1554D
Diane
constructive algorithms
,
greedy
,
strings
1800
x9538
1554C
Mikasa
binary search
,
bitmasks
,
greedy
,
implementation
1800
x8964
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x12859
1554A
Cherry
greedy
800
x29434
1553D
Backspace
dp
,
greedy
,
strings
,
two pointers
1500
x13828
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x18010
1552E
Colors and Intervals
constructive algorithms
,
data structures
,
greedy
,
sortings
2300
x1901
1552C
Maximize the Intersections
combinatorics
,
constructive algorithms
,
geometry
,
greedy
,
sortings
1800
x5943
1552B
Running for Gold
combinatorics
,
graphs
,
greedy
,
sortings
1500
x15533
1551C
Interesting Story
greedy
,
sortings
,
strings
1500
x13386
1551B2
Wonderful Coloring - 2
binary search
,
constructive algorithms
,
data structures
,
greedy
1400
x15591
1551B1
Wonderful Coloring - 1
greedy
,
strings
800
x29566
1551A
Polycarp and Coins
greedy
,
math
800
x51424
1550C
Manhattan Subarrays
brute force
,
geometry
,
greedy
,
implementation
1700
x10237
1550B
Maximum Cost Deletion
greedy
,
math
1000
x26573
1550A
Find The Array
greedy
,
math
800
x28216
1549B
Gregor and the Pawn Game
dfs and similar
,
dp
,
flows
,
graph matchings
,
graphs
,
greedy
,
implementation
800
x24541
1548E
Gregor and the Two Painters
data structures
,
divide and conquer
,
graphs
,
greedy
,
math
3400
x463
1548A
Web of Lies
brute force
,
graphs
,
greedy
1400
x16523
1547D
Co-growing Sequence
bitmasks
,
constructive algorithms
,
greedy
1300
x16802
1547C
Pair Programming
greedy
,
two pointers
1100
x22791
1547B
Alphabetical Strings
greedy
,
implementation
,
strings
800
x26478
1546A
AquaMoon and Two Arrays
brute force
,
greedy
800
x18236
1543E
The Final Pursuit
bitmasks
,
constructive algorithms
,
divide and conquer
,
graphs
,
greedy
,
math
2700
x414
1543B
Customising the Track
combinatorics
,
greedy
,
math
900
x23217
1543A
Exciting Bets
greedy
,
math
,
number theory
900
x28672
1541A
Pretty Permutations
constructive algorithms
,
greedy
,
implementation
800
x29497
1540A
Great Graphs
constructive algorithms
,
graphs
,
greedy
,
shortest paths
,
sortings
1400
x14005
1539F
Strange Array
data structures
,
greedy
,
sortings
2600
x883
1539E
Game with Cards
binary search
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
2500
x957
1539D
PriceFixed
binary search
,
greedy
,
implementation
,
sortings
,
two pointers
1600
x11714
1539C
Stable Groups
greedy
,
sortings
1200
x23238
1539A
Contest Start
combinatorics
,
geometry
,
greedy
,
math
1000
x20189
1538G
Gift Set
binary search
,
greedy
,
math
,
ternary search
2100
x4579
1538B
Friends and Candies
greedy
,
math
800
x31767
1538A
Stone Game
brute force
,
dp
,
greedy
800
x37109
1537F
Figure Fixing
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
2200
x2491
1537E2
Erase and Extend (Hard Version)
binary search
,
data structures
,
greedy
,
hashing
,
string suffix structures
,
strings
,
two pointers
2200
x5253
1537E1
Erase and Extend (Easy Version)
binary search
,
brute force
,
dp
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
1600
x13098
1537C
Challenging Cliffs
constructive algorithms
,
greedy
,
implementation
,
math
1200
x27845
1537B
Bad Boy
constructive algorithms
,
greedy
,
math
900
x30385
1537A
Arithmetic Array
greedy
,
math
800
x37505
1536D
Omkar and Medians
data structures
,
greedy
,
implementation
2000
x4711
1535E
Gold Transfer
binary search
,
data structures
,
dp
,
greedy
,
interactive
,
trees
2200
x2782
←
1
2
...
10
11
12
13
14
...
29
30
→
User lists
Name