Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 986 (Div. 2)
10:27:10
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
394C
Dominoes
constructive algorithms
,
greedy
x520
391F2
Stock Trading
greedy
x108
391C2
The Tournament
greedy
x138
389B
Fox and Cross
greedy
,
implementation
1100
x6930
389A
Fox and Number Game
greedy
,
math
1000
x14083
388C
Fox and Card Game
games
,
greedy
,
sortings
2000
x3405
388A
Fox and Box Accumulation
greedy
,
sortings
1400
x11499
387C
George and Number
greedy
,
implementation
1700
x2187
387B
George and Round
brute force
,
greedy
,
two pointers
1200
x12266
385B
Bear and Strings
brute force
,
greedy
,
implementation
,
math
,
strings
1200
x9957
385A
Bear and Raspberry
brute force
,
greedy
,
implementation
1000
x16508
384B
Multitasking
greedy
,
implementation
,
sortings
,
two pointers
1500
x3544
383A
Milking cows
data structures
,
greedy
1600
x5289
382A
Ksenia and Pan Scales
greedy
,
implementation
1100
x12442
381B
Sereja and Stairs
greedy
,
implementation
,
sortings
1100
x6802
381A
Sereja and Dima
greedy
,
implementation
,
two pointers
800
x66985
379C
New Year Ratings Change
greedy
,
sortings
1400
x6563
377B
Preparing for the Contest
binary search
,
data structures
,
greedy
,
sortings
1900
x2106
374B
Inna and Nine
combinatorics
,
greedy
1500
x3325
374A
Inna and Pink Pony
greedy
,
implementation
2000
x2938
372A
Counting Kangaroos is Fun
binary search
,
greedy
,
sortings
,
two pointers
1600
x13111
371E
Subway Innovation
greedy
,
math
,
two pointers
2000
x1305
371A
K-Periodic Array
greedy
,
implementation
,
math
1000
x6117
370E
Summer Reading
dp
,
greedy
2500
x295
370D
Broken Monitor
brute force
,
constructive algorithms
,
greedy
,
implementation
2100
x633
370C
Mittens
constructive algorithms
,
greedy
,
sortings
1800
x1579
369A
Valera and Plates
greedy
,
implementation
900
x11062
367C
Sereja and the Arrangement of Numbers
graphs
,
greedy
,
sortings
2000
x1794
364B
Free Market
dp
,
greedy
2200
x1185
363D
Renting Bikes
binary search
,
greedy
1800
x3958
363C
Fixing Typos
greedy
,
implementation
1400
x13363
362D
Fools and Foolproof Roads
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
2100
x931
362A
Two Semiknights Meet
greedy
,
math
1500
x2675
360E
Levko and Game
graphs
,
greedy
,
shortest paths
2800
x709
360A
Levko and Array Recovery
greedy
,
implementation
1700
x2056
359A
Table
constructive algorithms
,
greedy
,
implementation
1000
x8560
358D
Dima and Hares
dp
,
greedy
1800
x4083
358C
Dima and Containers
constructive algorithms
,
greedy
,
implementation
2000
x2031
357A
Group of Students
brute force
,
greedy
,
implementation
1000
x6853
356D
Bags and Coins
bitmasks
,
constructive algorithms
,
dp
,
greedy
2700
x968
356C
Compartments
combinatorics
,
constructive algorithms
,
greedy
,
implementation
2100
x1270
355B
Vasya and Public Transport
greedy
,
implementation
1100
x4509
354A
Vasya and Robot
brute force
,
greedy
,
math
1500
x5483
353E
Antichain
dp
,
graph matchings
,
greedy
2200
x586
353B
Two Heaps
combinatorics
,
constructive algorithms
,
greedy
,
implementation
,
math
,
sortings
1900
x2288
351E
Jeff and Permutation
greedy
2200
x1610
351A
Jeff and Rounding
dp
,
greedy
,
implementation
,
math
1800
x2926
350C
Bombs
greedy
,
implementation
,
sortings
1600
x6553
350A
TL
brute force
,
greedy
,
implementation
1200
x16449
349B
Color the Fence
data structures
,
dp
,
greedy
,
implementation
1700
x13999
349A
Cinema Line
greedy
,
implementation
1100
x30249
346C
Number Transformation II
greedy
,
math
2200
x1436
343E
Pumping Stations
brute force
,
dfs and similar
,
divide and conquer
,
flows
,
graphs
,
greedy
,
trees
2900
x764
343C
Read Time
binary search
,
greedy
,
two pointers
1900
x3015
343B
Alternating Current
data structures
,
greedy
,
implementation
1600
x13992
342B
Xenia and Spies
brute force
,
greedy
,
implementation
1500
x4023
342A
Xenia and Divisors
greedy
,
implementation
1200
x12638
341E
Candies Game
constructive algorithms
,
greedy
3000
x456
339E
Three Swaps
constructive algorithms
,
dfs and similar
,
greedy
2700
x551
339C
Xenia and Weights
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
shortest paths
1700
x8322
339A
Helpful Maths
greedy
,
implementation
,
sortings
,
strings
800
x216703
337C
Quiz
binary search
,
greedy
,
math
,
matrices
,
number theory
1600
x4902
337B
Routine Problem
greedy
,
math
,
number theory
1400
x9386
337A
Puzzles
greedy
900
x80329
336C
Vasily the Bear and Sequence
brute force
,
greedy
,
implementation
,
number theory
1800
x2463
335F
Buy One, Get One Free
dp
,
greedy
3000
x539
335A
Banana
binary search
,
constructive algorithms
,
greedy
1400
x2583
333B
Chips
greedy
1800
x2652
333A
Secrets
greedy
1600
x4046
332E
Binary Key
dp
,
greedy
,
implementation
2400
x302
332C
Students' Revenge
data structures
,
greedy
,
sortings
2200
x915
329A
Purification
constructive algorithms
,
greedy
1500
x4649
328B
Sheldon and Ice Pieces
greedy
1500
x1346
325E
The Red Button
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
greedy
2800
x830
322A
Ciel and Dancing
greedy
1000
x8228
321D
Ciel and Flipboard
dp
,
greedy
,
math
2900
x547
321C
Ciel the Commander
constructive algorithms
,
dfs and similar
,
divide and conquer
,
greedy
,
trees
2100
x7374
321B
Ciel and Duel
dp
,
flows
,
greedy
1900
x3110
320A
Magic Numbers
brute force
,
greedy
900
x38152
319D
Have You Ever Heard About the Word?
greedy
,
hashing
,
string suffix structures
,
strings
2800
x666
316A1
Special Task
greedy
1100
x2672
313E
Ilya and Two Numbers
constructive algorithms
,
data structures
,
dsu
,
greedy
2300
x553
313C
Ilya and Matrix
constructive algorithms
,
greedy
,
implementation
,
sortings
1400
x5649
309E
Sheep
binary search
,
greedy
2900
x225
309C
Memory for Arrays
binary search
,
bitmasks
,
greedy
1900
x1363
306B
Optimizer
data structures
,
greedy
,
sortings
2100
x444
305C
Ivan and Powers of Two
greedy
,
implementation
1600
x2455
298B
Sail
brute force
,
greedy
,
implementation
1200
x14238
298A
Snow Footprints
greedy
,
implementation
1300
x10973
297B
Fish Weight
constructive algorithms
,
greedy
1600
x3504
296A
Yaroslav and Permutations
greedy
,
math
1100
x23262
294B
Shaass and Bookshelf
dp
,
greedy
1700
x4561
293A
Weird Game
games
,
greedy
1500
x2897
291D
Parallel Programming
*special problem
,
greedy
1600
x1478
290F
Greedy Petya
*special problem
,
dfs and similar
,
graphs
,
greedy
2800
x134
288A
Polo the Penguin and Strings
greedy
1300
x6504
286C
Main Sequence
greedy
,
implementation
2100
x1511
285C
Building Permutation
greedy
,
implementation
,
sortings
1200
x23385
285A
Slightly Decreasing Permutations
greedy
,
implementation
1100
x13377
282B
Painting Eggs
greedy
,
math
1500
x13008
←
1
2
...
25
26
27
28
29
30
→
User lists
Name