Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
10:01:28
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
1979D
Fixing a Binary String
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
1800
x6634
1978D
Elections
data structures
,
greedy
,
implementation
,
math
1600
x11318
1978C
Manhattan Permutations
constructive algorithms
,
data structures
,
greedy
,
implementation
,
math
1300
x14966
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x6760
1976C
Job Interview
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1600
x10403
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1700
x6029
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x3575
1974E
Money Buys Happiness
dp
1800
x8042
1974D
Ingenuity-2
constructive algorithms
,
greedy
,
implementation
1400
x14832
1974C
Beautiful Triple Pairs
combinatorics
,
data structures
1400
x15786
1973C
Cat, Fox and Double Maximum
constructive algorithms
,
greedy
,
implementation
,
math
,
sortings
1700
x8382
1973B
Cat, Fox and the Lonely Array
binary search
,
bitmasks
,
data structures
,
greedy
,
math
,
two pointers
1300
x14117
1971G
XOUR
data structures
,
dsu
,
sortings
1700
x9288
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x10010
1971E
Find the Car
binary search
,
math
,
sortings
1500
x14312
1970G1
Min-Fund Prison (Easy)
dfs and similar
,
trees
1900
x1353
1970E1
Trails (Easy)
dp
1800
x2211
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x1584
1970C2
Game on Tree (Medium)
dfs and similar
,
dp
,
games
,
trees
1700
x2763
1970C1
Game on Tree (Easy)
games
1400
x3488
1970B1
Exact Neighbours (Easy)
constructive algorithms
1900
x1152
1969D
Shop Game
data structures
,
greedy
,
math
,
sortings
1900
x4627
1969C
Minimizing the Sum
dp
,
implementation
1700
x8786
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x4293
1968F
Equal XOR Segments
binary search
,
data structures
1800
x5524
1968E
Cells Arrangement
constructive algorithms
1600
x10452
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x14963
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x13328
1967A
Permutation Counting
binary search
,
greedy
,
implementation
,
math
,
sortings
1400
x12519
1965B
Missing Subsequence Sum
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1800
x6742
1965A
Everything Nim
games
,
greedy
,
math
,
sortings
1400
x13783
1958E
Yet Another Permutation Constructive
*special problem
,
constructive algorithms
1900
x256
1958D
Staircase
*special problem
1600
x532
1958C
Firewood
*special problem
1500
x723
1958B
Clock in the Pool
*special problem
,
math
1400
x901
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x4498
1957C
How Does the Rook Move?
combinatorics
,
dp
,
math
1600
x9709
1956C
Nene's Magical Matrix
constructive algorithms
,
greedy
,
math
1600
x12946
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x4568
1955F
Unfair Game
dp
,
games
,
greedy
,
math
,
schedules
1800
x7142
1955E
Long Inversions
brute force
,
greedy
,
implementation
,
sortings
1700
x8677
1955D
Inaccurate Subsequence Search
data structures
,
two pointers
1400
x15526
1955C
Inhabitant of the Deep Sea
greedy
,
implementation
,
math
1300
x21332
1954D
Colored Balls
combinatorics
,
dp
,
math
,
sortings
1800
x6215
1951C
Ticket Hoarding
greedy
,
math
,
sortings
1400
x11718
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x4406
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x9194
1950E
Nearly Shortest Repeating Substring
brute force
,
implementation
,
number theory
,
strings
1500
x14508
1949I
Disks
dfs and similar
,
geometry
,
graph matchings
,
graphs
1800
x1871
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
1900
x1775
1949B
Charming Meals
binary search
,
brute force
,
greedy
,
sortings
1500
x3313
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
1700
x9502
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x16970
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4757
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x11025
1945F
Kirill and Mushrooms
data structures
,
sortings
1900
x4256
1945E
Binary Search
binary search
,
constructive algorithms
,
greedy
1700
x8237
1945D
Seraphim the Owl
dp
,
greedy
1300
x14550
1943A
MEX Game 1
games
,
greedy
1300
x18071
1942C2
Bessie's Birthday Cake (Hard Version)
geometry
,
greedy
,
math
1700
x6185
1942C1
Bessie's Birthday Cake (Easy Version)
geometry
,
greedy
,
math
1300
x11009
1941F
Rudolf and Imbalance
binary search
,
greedy
,
sortings
,
two pointers
1800
x6086
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x9760
1938H
Pho Restaurant
1600
x2164
1938C
Bit Counting Sequence
1900
x1476
1937B
Binary Path
dp
,
greedy
,
implementation
1300
x15117
1936A
Bitwise Operation Wizard
bitmasks
,
constructive algorithms
,
greedy
,
interactive
,
math
1700
x7503
1935D
Exam in MAC
binary search
,
combinatorics
,
implementation
,
math
1800
x8299
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x8242
1934C
Find a Mine
binary search
,
constructive algorithms
,
geometry
,
greedy
,
interactive
,
math
1700
x6845
1933E
Turtle vs. Rabbit Race: Optimal Trainings
binary search
,
implementation
,
math
,
ternary search
1500
x11312
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x4169
1932E
Final Countdown
implementation
,
math
,
number theory
1600
x8287
1932D
Card Game
greedy
,
implementation
1400
x11541
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x15882
1931F
Chat Screenshots
combinatorics
,
dfs and similar
,
graphs
1700
x8143
1931E
Anna and the Valentine's Day Gift
games
,
greedy
,
math
,
sortings
1400
x16126
1931D
Divisible Pairs
combinatorics
,
math
,
number theory
1300
x19219
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x4154
1930C
Lexicographically Largest
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
1700
x7158
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4838
1929C
Sasha and the Casino
binary search
,
brute force
,
constructive algorithms
,
games
,
greedy
,
math
1400
x15053
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x4309
1928C
Physical Education Lesson
brute force
,
math
,
number theory
1600
x8656
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x4442
1927E
Klever Permutation
constructive algorithms
,
math
,
two pointers
1400
x14169
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x21829
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x3639
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x12061
1926D
Vlad and Division
bitmasks
,
greedy
1300
x15681
1925D
Good Trip
combinatorics
,
dp
,
math
,
probabilities
1900
x3693
1924A
Did We Get Everything Covered?
constructive algorithms
,
dp
,
greedy
,
shortest paths
,
strings
1500
x14085
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x6882
1923C
Find B
constructive algorithms
,
greedy
1400
x15273
1922E
Increasing Subsequences
bitmasks
,
constructive algorithms
,
divide and conquer
,
greedy
,
math
1800
x7799
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5752
1922C
Closest Cities
greedy
,
implementation
,
math
1300
x18687
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3923
1921E
Eat the Chip
brute force
,
games
,
greedy
,
math
1600
x9889
1920D
Array Repetition
binary search
,
brute force
,
dsu
,
implementation
,
math
1900
x5657
←
1
2
3
4
...
31
32
→
User lists
Name