Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
08:05:24
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
1866B
Battling with Numbers
combinatorics
,
math
,
number theory
1400
x7827
1866A
Ambitious Kid
math
800
x23161
1864I
Future Dominators
graphs
,
greedy
3500
x89
1864H
Asterism Stream
dp
,
math
,
matrices
3200
x286
1864G
Magic Square
combinatorics
,
constructive algorithms
,
implementation
3100
x280
1864F
Exotic Queries
data structures
,
implementation
,
sortings
2300
x1448
1864E
Guess Game
bitmasks
,
data structures
,
games
,
math
,
probabilities
,
sortings
,
strings
,
trees
2100
x2671
1864D
Matrix Cascade
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
math
1700
x6840
1864C
Divisor Chain
bitmasks
,
constructive algorithms
,
math
,
number theory
1300
x13620
1864B
Swap and Reverse
constructive algorithms
,
greedy
,
sortings
,
strings
1100
x15443
1864A
Increasing and Decreasing
constructive algorithms
,
greedy
,
implementation
,
math
800
x20387
1863I
Redundant Routes
constructive algorithms
,
dp
,
trees
3500
x84
1863H
Goldberg Machine 3
dp
,
trees
3500
x83
1863G
Swaps
combinatorics
,
dp
,
graphs
,
math
2800
x649
1863F
Divide, XOR, and Conquer
bitmasks
,
dp
,
math
2600
x1149
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2792
1863D
Two-Colored Dominoes
constructive algorithms
,
greedy
1400
x9581
1863C
MEX Repetition
implementation
,
math
1100
x14120
1863B
Split Sort
greedy
,
math
,
sortings
1100
x15384
1863A
Channel
greedy
,
implementation
800
x17967
1862G
The Great Equalizer
binary search
,
data structures
,
math
,
sortings
2000
x2918
1862F
Magic Will Save the World
binary search
,
bitmasks
,
brute force
,
dp
1800
x6352
1862E
Kolya and Movie Theatre
constructive algorithms
,
data structures
,
greedy
1600
x10872
1862D
Ice Cream Balls
binary search
,
combinatorics
,
constructive algorithms
,
math
1300
x17402
1862C
Flower City Fence
binary search
,
data structures
,
implementation
,
sortings
1100
x20986
1862B
Sequence Game
constructive algorithms
800
x32952
1862A
Gift Carpet
dp
,
greedy
,
implementation
,
strings
800
x32701
1861F
Four Suits
binary search
,
bitmasks
,
flows
,
greedy
3200
x205
1861E
Non-Intersecting Subpermutations
combinatorics
,
dp
,
implementation
,
math
2300
x1756
1861D
Sorting By Multiplication
dp
,
greedy
1800
x6859
1861C
Queries for the Array
data structures
,
dfs and similar
,
implementation
,
strings
,
trees
1600
x10263
1861B
Two Binary Strings
constructive algorithms
,
dp
,
greedy
1000
x21556
1861A
Prime Deletion
constructive algorithms
,
math
800
x24012
1860F
Evaluate RBS
data structures
,
geometry
,
implementation
,
math
,
sortings
2900
x280
1860E
Fast Travel Text Editor
data structures
,
dfs and similar
,
graphs
,
shortest paths
2400
x1444
1860D
Balanced String
dp
2200
x3045
1860C
Game on Permutation
data structures
,
dp
,
games
,
greedy
1400
x13478
1860B
Fancy Coins
binary search
,
brute force
,
greedy
,
math
1200
x17089
1860A
Not a Substring
constructive algorithms
,
strings
900
x21818
1859F
Teleportation in Byteland
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
shortest paths
,
trees
3200
x409
1859E
Maximum Monogonosity
brute force
,
dp
,
math
2500
x1800
1859D
Andrey and Escape from Capygrad
binary search
,
data structures
,
dp
,
dsu
,
greedy
,
sortings
1800
x7072
1859C
Another Permutation Problem
brute force
,
dp
,
greedy
,
math
1200
x17122
1859B
Olya and Game with Arrays
constructive algorithms
,
greedy
,
math
,
sortings
1000
x27828
1859A
United We Stand
constructive algorithms
,
math
,
number theory
800
x33401
1858E2
Rollbacks (Hard Version)
data structures
,
interactive
,
trees
2600
x1074
1858E1
Rollbacks (Easy Version)
brute force
,
data structures
,
dfs and similar
,
trees
2500
x1343
1858D
Trees and Segments
brute force
,
data structures
,
dp
,
greedy
,
two pointers
2200
x2851
1858C
Yet Another Permutation Problem
constructive algorithms
,
greedy
,
math
,
number theory
1000
x23252
1858B
The Walkway
brute force
,
dp
,
greedy
,
math
,
number theory
1500
x11417
1858A
Buttons
games
,
greedy
,
math
800
x39682
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x4524
1857F
Sum and Product
binary search
,
data structures
,
math
1600
x11763
1857E
Power of Points
math
,
sortings
1500
x12626
1857D
Strong Vertices
math
,
sortings
,
trees
1300
x19921
1857C
Assembly via Minimums
greedy
,
sortings
1200
x26624
1857B
Maximum Rounding
greedy
,
implementation
,
math
1100
x23164
1857A
Array Coloring
greedy
,
math
800
x49480
1856E2
PermuTree (hard version)
bitmasks
,
dfs and similar
,
dp
,
fft
,
greedy
,
implementation
,
math
,
trees
2700
x1437
1856E1
PermuTree (easy version)
dfs and similar
,
dp
,
trees
1800
x5405
1856D
More Wrong
divide and conquer
,
interactive
2100
x3288
1856C
To Become Max
binary search
,
brute force
,
data structures
,
dp
1600
x12598
1856B
Good Arrays
implementation
,
math
900
x24535
1856A
Tales of a Sort
implementation
800
x26678
1855B
Longest Divisors Interval
brute force
,
combinatorics
,
greedy
,
math
,
number theory
900
x27397
1855A
Dalton the Teacher
greedy
,
math
800
x28229
1854F
Mark and Spaceship
brute force
,
dp
3500
x122
1854E
Game Bundles
brute force
,
constructive algorithms
,
dp
,
greedy
,
math
3000
x432
1854D
Michael and Hotel
binary search
,
interactive
,
trees
3000
x546
1854C
Expected Destruction
combinatorics
,
dp
,
math
,
probabilities
2500
x1531
1854B
Earn or Unlock
bitmasks
,
brute force
,
dp
2200
x3581
1854A2
Dual (Hard Version)
constructive algorithms
,
math
1900
x7068
1854A1
Dual (Easy Version)
constructive algorithms
,
math
1400
x14261
1853B
Fibonaccharsis
binary search
,
brute force
,
math
1200
x17569
1853A
Desorting
brute force
,
greedy
,
math
800
x32767
1852F
Panda Meetups
data structures
,
dp
,
flows
3500
x108
1852E
Rivalries
constructive algorithms
,
data structures
,
greedy
3400
x169
1852D
Miriany and Matchstick
constructive algorithms
,
dp
,
greedy
2800
x480
1852C
Ina of the Mountain
data structures
,
dp
,
greedy
,
math
2400
x1620
1852B
Imbalanced Arrays
constructive algorithms
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
1800
x4534
1852A
Ntarsis' Set
binary search
,
math
,
number theory
1800
x8145
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x3289
1851F
Lisa and the Martians
bitmasks
,
greedy
,
math
,
strings
,
trees
1800
x5941
1851E
Nastya and Potions
dfs and similar
,
dp
,
graphs
,
sortings
1500
x10497
1851D
Prefix Permutation Sums
implementation
,
math
1300
x15379
1851C
Tiles Comeback
greedy
1000
x23541
1851B
Parity Sort
greedy
,
sortings
,
two pointers
800
x29505
1851A
Escalator Conversations
brute force
,
constructive algorithms
,
math
800
x29639
1850H
The Third Letter
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
1700
x8333
1850G
The Morning Star
combinatorics
,
data structures
,
geometry
,
implementation
,
math
,
sortings
1500
x12649
1850F
We Were Both Children
brute force
,
implementation
,
math
,
number theory
1300
x19544
1850E
Cardboard for Pictures
binary search
,
geometry
,
implementation
,
math
1100
x23720
1850D
Balanced Round
brute force
,
greedy
,
implementation
,
sortings
900
x37919
1850C
Word on the Paper
implementation
,
strings
800
x44787
1850B
Ten Words of Wisdom
implementation
,
sortings
800
x43320
1850A
To My Critics
implementation
,
sortings
800
x57481
1849F
XOR Partition
binary search
,
bitmasks
,
data structures
,
divide and conquer
,
greedy
,
trees
2700
x729
1849E
Max to the Right of Min
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
two pointers
2300
x1675
1849D
Array Painting
constructive algorithms
,
greedy
,
two pointers
1700
x8650
1849C
Binary String Copying
binary search
,
brute force
,
data structures
,
hashing
,
strings
1600
x10672
←
1
2
...
9
10
11
12
13
...
96
97
→
User lists
Name