Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
19:26:16
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
1984C2
Magnitude (Hard Version)
combinatorics
,
dp
,
greedy
,
math
1700
x7409
1983G
Your Loss
bitmasks
,
brute force
,
dp
,
trees
3000
x212
1983F
array-value
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
2500
x1202
1983E
I Love Balls
combinatorics
,
math
,
probabilities
2300
x2006
1983D
Swap Dilemma
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
math
,
sortings
1700
x8205
1983C
Have Your Cake and Eat It Too
binary search
,
brute force
,
greedy
,
implementation
1400
x12557
1982F
Sorting Problem Again
binary search
,
data structures
,
sortings
2600
x955
1982E
Number of k-good subarrays
bitmasks
,
brute force
,
combinatorics
,
divide and conquer
,
dp
,
math
,
meet-in-the-middle
2300
x1598
1982D
Beauty of the mountains
brute force
,
data structures
,
implementation
,
math
,
number theory
1700
x7153
1981F
Turtle and Paths on a Tree
data structures
,
dp
,
trees
3000
x272
1981E
Turtle and Intersected Segments
data structures
,
dsu
,
graphs
,
greedy
2600
x905
1981D
Turtle and Multiplication
constructive algorithms
,
dfs and similar
,
graphs
,
number theory
2400
x1666
1981C
Turtle and an Incomplete Sequence
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
1800
x5341
1980G
Yasya and the Mysterious Tree
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
strings
,
trees
2300
x1247
1980F2
Field Division (hard version)
math
,
sortings
2400
x998
1980F1
Field Division (easy version)
data structures
,
math
,
sortings
1900
x3740
1980E
Permutation of Rows and Columns
constructive algorithms
,
data structures
,
greedy
,
hashing
,
implementation
,
math
,
matrices
,
sortings
1600
x10514
1980D
GCD-sequence
greedy
,
implementation
,
math
,
number theory
1400
x14299
1979F
Kostyanych's Theorem
brute force
,
constructive algorithms
,
graphs
,
interactive
2900
x315
1979E
Manhattan Triangle
binary search
,
constructive algorithms
,
data structures
,
geometry
,
implementation
,
two pointers
2400
x1448
1979D
Fixing a Binary String
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
1800
x6634
1978F
Large Graph
data structures
,
dfs and similar
,
dsu
,
graphs
,
number theory
,
two pointers
2400
x1339
1978E
Computing Machine
brute force
,
data structures
,
dp
,
greedy
,
implementation
2000
x3823
1978D
Elections
data structures
,
greedy
,
implementation
,
math
1600
x11316
1977E
Tensor
constructive algorithms
,
graphs
,
interactive
2600
x683
1977D
XORificator
bitmasks
,
brute force
,
greedy
,
hashing
2300
x1853
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x6760
1976F
Remove Bridges
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
2800
x588
1976E
Splittable Permutations
combinatorics
,
data structures
,
dfs and similar
,
greedy
,
math
,
trees
2500
x1041
1976D
Invertible Bracket Sequences
binary search
,
combinatorics
,
data structures
,
divide and conquer
,
implementation
,
two pointers
2000
x4619
1976C
Job Interview
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1600
x10401
1975I
Mind Bloom
dp
3500
x100
1975H
378QAQ and Core
greedy
,
strings
3500
x116
1975G
Zimpha Fan Club
fft
,
greedy
,
math
,
strings
3000
x225
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x829
1975E
Chain Queries
binary search
,
data structures
,
dfs and similar
,
implementation
,
trees
2100
x2325
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1700
x6028
1974G
Money Buys Less Happiness Now
data structures
,
greedy
,
sortings
2000
x4294
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x3573
1974E
Money Buys Happiness
dp
1800
x8042
1974D
Ingenuity-2
constructive algorithms
,
greedy
,
implementation
1400
x14831
1974C
Beautiful Triple Pairs
combinatorics
,
data structures
1400
x15785
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x229
1973E
Cat, Fox and Swaps
graphs
,
math
,
sortings
2500
x800
1973D
Cat, Fox and Maximum Array Split
brute force
,
interactive
,
math
2400
x1914
1973C
Cat, Fox and Double Maximum
constructive algorithms
,
greedy
,
implementation
,
math
,
sortings
1700
x8380
1971H
±1
2-sat
,
dfs and similar
,
graphs
2100
x1848
1971G
XOUR
data structures
,
dsu
,
sortings
1700
x9287
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x10009
1971E
Find the Car
binary search
,
math
,
sortings
1500
x14308
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x341
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x586
1970G1
Min-Fund Prison (Easy)
dfs and similar
,
trees
1900
x1353
1970F3
Playing Quidditch (Hard)
implementation
2300
x359
1970F2
Playing Quidditch (Medium)
implementation
2300
x346
1970F1
Playing Quidditch (Easy)
implementation
2300
x426
1970E3
Trails (Hard)
dp
,
matrices
2200
x743
1970E2
Trails (Medium)
dp
,
matrices
2000
x1298
1970E1
Trails (Easy)
dp
1800
x2211
1970D3
Arithmancy (Hard)
interactive
3100
x110
1970D2
Arithmancy (Medium)
constructive algorithms
,
interactive
,
probabilities
,
strings
2600
x207
1970D1
Arithmancy (Easy)
brute force
,
constructive algorithms
,
interactive
,
strings
2100
x646
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x1583
1970C2
Game on Tree (Medium)
dfs and similar
,
dp
,
games
,
trees
1700
x2760
1970C1
Game on Tree (Easy)
games
1400
x3488
1970B3
Exact Neighbours (Hard)
constructive algorithms
2300
x488
1970B2
Exact Neighbours (Medium)
constructive algorithms
2100
x817
1970B1
Exact Neighbours (Easy)
constructive algorithms
1900
x1152
1970A3
Balanced Unshuffle (Hard)
constructive algorithms
,
trees
2400
x464
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x444
1969F
Card Pairing
dp
,
greedy
,
hashing
,
implementation
3000
x274
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1380
1969D
Shop Game
data structures
,
greedy
,
math
,
sortings
1900
x4626
1969C
Minimizing the Sum
dp
,
implementation
1700
x8785
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1968
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x4292
1968F
Equal XOR Segments
binary search
,
data structures
1800
x5523
1968E
Cells Arrangement
constructive algorithms
1600
x10451
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x69
1967E2
Again Counting Arrays (Hard Version)
combinatorics
,
dp
,
math
3500
x103
1967E1
Again Counting Arrays (Easy Version)
combinatorics
,
dp
,
fft
,
math
3100
x216
1967D
Long Way to be Non-decreasing
binary search
,
dfs and similar
,
graphs
,
implementation
,
shortest paths
,
two pointers
2800
x676
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1774
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x3946
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x13327
1967A
Permutation Counting
binary search
,
greedy
,
implementation
,
math
,
sortings
1400
x12518
1965F
Conference
data structures
,
flows
3300
x177
1965E
Connected Cubes
constructive algorithms
,
games
3100
x273
1965D
Missing Subarray Sum
constructive algorithms
2900
x431
1965C
Folding Strip
constructive algorithms
,
greedy
,
strings
2300
x1944
1965B
Missing Subsequence Sum
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1800
x6741
1965A
Everything Nim
games
,
greedy
,
math
,
sortings
1400
x13782
1958J
Necromancer
*special problem
3200
x32
1958I
Equal Trees
*special problem
,
graphs
,
meet-in-the-middle
3100
x34
1958H
Composite Spells
*special problem
,
dp
2600
x78
1958G
Observation Towers
*special problem
2400
x110
1958F
Narrow Paths
*special problem
,
combinatorics
2000
x192
1958E
Yet Another Permutation Constructive
*special problem
,
constructive algorithms
1900
x256
1958D
Staircase
*special problem
1600
x531
1958C
Firewood
*special problem
1500
x722
←
1
2
3
4
5
...
69
70
→
User lists
Name