Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
14:09:37
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
1385C
Make It Good
greedy
1200
x27129
1385B
Restore the Permutation by Merger
greedy
800
x37327
1384B2
Koa and the Beach (Hard Version)
constructive algorithms
,
dp
,
greedy
,
implementation
2200
x2501
1384B1
Koa and the Beach (Easy Version)
brute force
,
dp
,
greedy
1900
x3916
1384A
Common Prefixes
constructive algorithms
,
greedy
,
strings
1200
x18842
1383D
Rearrange
brute force
,
constructive algorithms
,
graphs
,
greedy
,
sortings
2800
x689
1383B
GameGame
bitmasks
,
constructive algorithms
,
dp
,
games
,
greedy
,
math
1900
x5085
1383A
String Transformation 1
dsu
,
graphs
,
greedy
,
sortings
,
strings
,
trees
,
two pointers
1700
x10706
1381D
The Majestic Brown Tree Snake
dfs and similar
,
dp
,
greedy
,
trees
,
two pointers
3000
x683
1381C
Mastermind
constructive algorithms
,
graph matchings
,
greedy
,
implementation
,
sortings
,
two pointers
2500
x1640
1380G
Circular Dungeon
greedy
,
math
,
probabilities
2600
x810
1380D
Berserk And Fireball
constructive algorithms
,
greedy
,
implementation
,
math
,
two pointers
2000
x4709
1380C
Create The Teams
brute force
,
dp
,
greedy
,
implementation
,
sortings
1400
x20855
1380B
Universal Solution
greedy
1400
x14644
1379C
Choosing flowers
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
two pointers
2000
x5617
1375E
Inversion SwapSort
constructive algorithms
,
greedy
,
sortings
2500
x3090
1375C
Element Extermination
constructive algorithms
,
data structures
,
greedy
1400
x21293
1375B
Neighbor Grid
constructive algorithms
,
greedy
1200
x17312
1374E2
Reading Books (hard version)
data structures
,
greedy
,
implementation
,
sortings
,
ternary search
,
two pointers
2500
x943
1374E1
Reading Books (easy version)
data structures
,
greedy
,
sortings
1600
x14082
1374C
Move Brackets
greedy
,
strings
1000
x47655
1373G
Pawns
data structures
,
divide and conquer
,
greedy
2600
x800
1373F
Network Coverage
binary search
,
constructive algorithms
,
data structures
,
greedy
2400
x1669
1373E
Sum of Digits
brute force
,
constructive algorithms
,
dp
,
greedy
2200
x2752
1373D
Maximum Sum on Even Positions
divide and conquer
,
dp
,
greedy
,
implementation
1600
x15722
1373A
Donut Shops
greedy
,
implementation
,
math
1000
x27199
1372E
Omkar and Last Floor
dp
,
greedy
,
two pointers
2900
x1188
1372D
Omkar and Circle
brute force
,
dp
,
games
,
greedy
2100
x5409
1372B
Omkar and Last Class of Math
greedy
,
math
,
number theory
1300
x28368
1371D
Grid-00100
constructive algorithms
,
greedy
,
implementation
1600
x13029
1371C
A Cookie for You
greedy
,
implementation
,
math
1300
x20596
1370E
Binary Subsequence Rotation
binary search
,
constructive algorithms
,
data structures
,
greedy
2100
x4913
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x9761
1370A
Maximum GCD
greedy
,
implementation
,
math
,
number theory
800
x52826
1369E
DeadLee
data structures
,
dfs and similar
,
greedy
,
implementation
,
sortings
2400
x2277
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8670
1369C
RationalLee
greedy
,
math
,
sortings
,
two pointers
1400
x19670
1369B
AccurateLee
greedy
,
implementation
,
strings
1200
x24526
1368H1
Breadboard Capacity (easy version)
dp
,
flows
,
greedy
3300
x350
1368E
Ski Accidents
constructive algorithms
,
graphs
,
greedy
2500
x2219
1368D
AND, OR and square sum
bitmasks
,
greedy
,
math
1700
x11940
1368B
Codeforces Subsequences
brute force
,
constructive algorithms
,
greedy
,
math
,
strings
1500
x19888
1368A
C+=
brute force
,
greedy
,
implementation
,
math
800
x39865
1367F2
Flying Sort (Hard Version)
binary search
,
data structures
,
dp
,
greedy
,
sortings
,
two pointers
2400
x1683
1367F1
Flying Sort (Easy Version)
dp
,
greedy
,
two pointers
2100
x3296
1367E
Necklace Assembly
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
number theory
1900
x5472
1367D
Task On The Board
constructive algorithms
,
greedy
,
implementation
,
sortings
1800
x8363
1367C
Social Distance
constructive algorithms
,
greedy
,
math
1300
x23581
1367B
Even Array
greedy
,
math
800
x54195
1366C
Palindromic Paths
greedy
,
math
1500
x13613
1366A
Shovels and Swords
binary search
,
greedy
,
math
1100
x30313
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x17556
1365C
Rotation Matching
constructive algorithms
,
data structures
,
greedy
,
implementation
1400
x23239
1365A
Matrix Game
games
,
greedy
,
implementation
1100
x24166
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4432
1364C
Ehab and Prefix MEXs
brute force
,
constructive algorithms
,
greedy
1600
x13225
1364B
Most socially-distanced subsequence
greedy
,
two pointers
1300
x20092
1363E
Tree Shuffling
dfs and similar
,
dp
,
greedy
,
trees
2000
x6862
1362C
Johnny and Another Rating Drop
bitmasks
,
greedy
,
math
1400
x18553
1361D
Johnny and James
greedy
,
implementation
,
math
,
trees
2900
x320
1361B
Johnny and Grandmaster
greedy
,
implementation
,
math
,
sortings
1900
x3641
1361A
Johnny and Contribution
constructive algorithms
,
graphs
,
greedy
,
sortings
1700
x8442
1360G
A/B Matrix
constructive algorithms
,
greedy
,
math
1900
x7821
1360C
Similar Pairs
constructive algorithms
,
graph matchings
,
greedy
,
sortings
1100
x33042
1360B
Honest Coach
greedy
,
sortings
800
x48291
1360A
Minimal Square
greedy
,
math
800
x51111
1359B
New Theatre Square
brute force
,
dp
,
greedy
,
implementation
,
two pointers
1000
x27911
1359A
Berland Poker
brute force
,
greedy
,
math
1000
x29780
1358F
Tasty Cookie
binary search
,
constructive algorithms
,
greedy
,
implementation
2700
x458
1358E
Are You Fired?
constructive algorithms
,
data structures
,
greedy
,
implementation
2400
x2337
1358D
The Best Vacation
binary search
,
brute force
,
greedy
,
implementation
,
two pointers
1900
x8197
1358B
Maria Breaks the Self-isolation
greedy
,
sortings
1000
x24980
1358A
Park Lighting
greedy
,
math
800
x39681
1355E
Restorer Distance
binary search
,
greedy
,
math
,
sortings
,
ternary search
2100
x5183
1355B
Young Explorers
dp
,
greedy
,
sortings
1200
x25850
1354F
Summoning Minions
constructive algorithms
,
dp
,
flows
,
graph matchings
,
greedy
,
sortings
2500
x1236
1353E
K-periodic Garland
brute force
,
dp
,
greedy
1900
x7185
1353B
Two Arrays And Swaps
greedy
,
sortings
800
x50342
1353A
Most Unstable Array
constructive algorithms
,
greedy
,
math
800
x41163
1349E
Slime and Hats
constructive algorithms
,
dp
,
greedy
3500
x92
1349B
Orac and Medians
constructive algorithms
,
greedy
,
math
2000
x8195
1348F
Phoenix and Memory
data structures
,
dfs and similar
,
graphs
,
greedy
2600
x820
1348E
Phoenix and Berries
brute force
,
dp
,
greedy
,
math
2400
x2243
1348D
Phoenix and Science
binary search
,
constructive algorithms
,
greedy
,
implementation
,
math
1900
x8905
1348C
Phoenix and Distribution
constructive algorithms
,
greedy
,
sortings
,
strings
1600
x14679
1348B
Phoenix and Beauty
constructive algorithms
,
data structures
,
greedy
,
sortings
1400
x25504
1348A
Phoenix and Balance
greedy
,
math
800
x39759
1346F
Dune II: Battle For Arrakis
*special problem
,
data structures
,
greedy
,
math
2000
x228
1346D
Constructing the Dungeon
*special problem
,
graphs
,
greedy
1600
x506
1346C
Spring Cleaning
*special problem
,
greedy
,
sortings
1600
x608
1346B
Boot Camp
*special problem
,
greedy
1400
x1210
1344D
Résumé Review
binary search
,
greedy
,
math
2700
x1169
1343F
Restore the Permutation by Sorted Segments
brute force
,
constructive algorithms
,
data structures
,
greedy
,
implementation
2400
x1272
1343E
Weights Distributing
brute force
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x5219
1343D
Constant Palindrome Sum
brute force
,
data structures
,
greedy
,
two pointers
1700
x12755
1343C
Alternating Subsequence
dp
,
greedy
,
two pointers
1200
x38686
1342D
Multiple Testcases
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
,
two pointers
1900
x6123
1342A
Road To Zero
greedy
,
math
1000
x40881
1341B
Nastya and Door
greedy
,
implementation
1300
x19742
1340B
Nastya and Scoreboard
bitmasks
,
dp
,
graphs
,
greedy
1700
x7873
←
1
2
...
14
15
16
17
18
...
29
30
→
User lists
Name