Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
04:08:12
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
1814A
Coins
implementation
,
math
800
x29758
1811G2
Vlad and the Nice Paths (hard version)
binary search
,
combinatorics
,
data structures
,
dp
,
math
,
two pointers
2200
x1793
1811G1
Vlad and the Nice Paths (easy version)
combinatorics
,
dp
,
math
2100
x2101
1811F
Is It Flower?
dfs and similar
,
graphs
,
implementation
2100
x1859
1811E
Living Sequence
binary search
,
dp
,
math
,
number theory
1500
x12500
1811D
Umka and a Long Flight
constructive algorithms
,
implementation
,
math
1600
x7591
1811C
Restore the Array
constructive algorithms
,
greedy
1100
x20077
1811B
Conveyor Belts
implementation
,
math
1000
x20500
1811A
Insert Digit
greedy
,
math
,
strings
800
x31302
1810H
Last Number
combinatorics
,
math
2900
x141
1810G
The Maximum Prefix
dp
3200
x728
1810F
M-tree
data structures
,
math
,
sortings
,
trees
2800
x577
1810E
Monsters
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
2100
x3227
1810D
Climbing the Tree
binary search
,
math
1700
x7500
1810C
Make It Permutation
brute force
,
greedy
,
sortings
1300
x14677
1810B
Candies
constructive algorithms
,
math
,
number theory
800
x17620
1810A
Beautiful Sequence
brute force
,
greedy
800
x20797
1809G
Prediction
combinatorics
,
dp
,
math
2800
x449
1809F
Traveling in Berland
binary search
,
data structures
,
graphs
,
greedy
,
implementation
2500
x778
1809E
Two Tanks
binary search
,
dp
,
implementation
,
math
2400
x852
1809D
Binary String Sorting
constructive algorithms
,
greedy
1800
x6388
1809C
Sum on Subarrays
constructive algorithms
,
greedy
,
math
1500
x12951
1809B
Points on Plane
binary search
,
greedy
,
math
1000
x20066
1809A
Garland
implementation
800
x24029
1808E3
Minibuses on Venus (hard version)
brute force
,
combinatorics
,
dp
,
math
2800
x447
1808E2
Minibuses on Venus (medium version)
combinatorics
,
divide and conquer
,
dp
,
matrices
2500
x698
1808E1
Minibuses on Venus (easy version)
combinatorics
,
divide and conquer
,
dp
2200
x1349
1808D
Petya, Petya, Petr, and Palindromes
binary search
,
brute force
,
data structures
,
two pointers
2100
x2342
1808C
Unlucky Numbers
brute force
,
dp
,
greedy
,
implementation
1900
x3851
1808B
Playing in a Casino
math
,
sortings
1200
x17393
1808A
Lucky Numbers
brute force
,
implementation
900
x18418
1807G2
Subsequence Addition (Hard Version)
bitmasks
,
dp
,
greedy
,
implementation
,
sortings
1100
x19682
1807G1
Subsequence Addition (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
implementation
,
sortings
1100
x19274
1807F
Bouncy Ball
brute force
,
dfs and similar
,
implementation
1700
x6375
1807E
Interview
binary search
,
implementation
,
interactive
1300
x13198
1807D
Odd Queries
data structures
,
implementation
900
x33913
1807C
Find and Replace
greedy
,
implementation
,
strings
800
x30711
1807B
Grab the Candies
greedy
800
x42511
1807A
Plus or Minus
implementation
800
x63517
1806F2
GCD Master (hard version)
greedy
,
math
,
sortings
2900
x300
1806F1
GCD Master (easy version)
greedy
,
math
,
number theory
,
sortings
2900
x360
1806E
Tree Master
brute force
,
data structures
,
dfs and similar
,
trees
2200
x2874
1806D
DSU Master
combinatorics
,
dp
,
dsu
,
math
2500
x939
1806C
Sequence Master
brute force
,
constructive algorithms
,
math
1600
x7685
1806B
Mex Master
constructive algorithms
,
greedy
900
x17901
1806A
Walking Master
geometry
,
greedy
,
math
800
x25543
1805F2
Survival of the Weakest (hard version)
greedy
,
math
,
sortings
,
two pointers
3100
x353
1805F1
Survival of the Weakest (easy version)
binary search
,
brute force
,
implementation
,
math
,
sortings
2600
x925
1805E
There Should Be a Lot of Maximums
brute force
,
data structures
,
dfs and similar
,
dp
,
trees
,
two pointers
2300
x1630
1805D
A Wide, Wide Graph
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
1800
x6735
1805C
Place for a Selfie
binary search
,
data structures
,
geometry
,
math
1400
x12681
1805B
The String Has a Target
greedy
,
strings
800
x18699
1805A
We Need the Zero
bitmasks
,
brute force
800
x24190
1804H
Code Lock
bitmasks
,
dp
3300
x190
1804G
Flow Control
data structures
,
dsu
,
implementation
3500
x207
1804F
Approximate Diameter
binary search
,
divide and conquer
,
graphs
,
shortest paths
2700
x963
1804E
Routing
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
2400
x1475
1804D
Accommodation
brute force
,
dp
,
greedy
,
implementation
2000
x4686
1804C
Pull Your Luck
brute force
,
greedy
,
math
,
number theory
1500
x12257
1804B
Vaccination
greedy
,
implementation
1000
x14321
1804A
Lame King
greedy
,
math
800
x18002
1802B
Settlement of Guinea Pigs
greedy
,
implementation
,
math
1000
x13404
1802A
Likes
greedy
,
implementation
800
x15934
1801G
A task for substrings
data structures
,
string suffix structures
,
strings
3400
x386
1801F
Another n-dimensional chocolate bar
dp
,
math
,
meet-in-the-middle
,
number theory
2700
x601
1801E
Gasoline prices
data structures
,
divide and conquer
,
dsu
,
hashing
,
trees
3000
x463
1801D
The way home
binary search
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x2274
1801C
Music Festival
binary search
,
data structures
,
dp
,
greedy
,
sortings
1900
x3503
1801B
Buying gifts
data structures
,
greedy
,
sortings
1800
x6370
1801A
The Very Beautiful Blanket
bitmasks
,
constructive algorithms
1600
x8653
1800G
Symmetree
dfs and similar
,
hashing
,
implementation
,
trees
2200
x2111
1800F
Dasha and Nightmares
bitmasks
,
hashing
,
meet-in-the-middle
,
strings
1900
x3962
1800E2
Unforgivable Curse (hard version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
strings
1500
x12995
1800E1
Unforgivable Curse (easy version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
strings
1400
x12981
1800D
Remove Two Letters
data structures
,
greedy
,
hashing
,
strings
1200
x24032
1800C2
Powering the Hero (hard version)
data structures
,
greedy
1100
x22901
1800C1
Powering the Hero (easy version)
data structures
,
greedy
1000
x23947
1800B
Count the Number of Pairs
greedy
,
strings
1000
x25398
1800A
Is It a Cat?
implementation
,
strings
800
x31774
1799H
Tree Cutting
bitmasks
,
dfs and similar
,
dp
3200
x284
1799G
Count Voting
combinatorics
,
dp
,
math
2600
x795
1799F
Halve or Subtract
binary search
,
brute force
,
dp
,
greedy
,
sortings
2700
x851
1799E
City Union
constructive algorithms
,
dfs and similar
,
dsu
,
geometry
,
greedy
,
implementation
,
math
2300
x1221
1799D2
Hot Start Up (hard version)
data structures
,
dp
2100
x2535
1799D1
Hot Start Up (easy version)
dp
1900
x4582
1799C
Double Lexicographically Minimum
greedy
,
strings
1700
x5923
1799B
Equalize by Divide
brute force
,
constructive algorithms
,
greedy
,
math
1200
x11450
1799A
Recent Actions
data structures
,
greedy
,
implementation
,
math
800
x11633
1798F
Gifts from Grandfather Ahmed
dp
,
math
,
number theory
2500
x504
1798E
Multitest Generator
brute force
,
dp
2300
x1626
1798D
Shocking Arrangement
constructive algorithms
,
greedy
,
math
1600
x10165
1798C
Candy Store
greedy
,
math
,
number theory
1700
x8278
1798B
Three Sevens
brute force
,
data structures
,
greedy
,
implementation
1000
x16772
1798A
Showstopper
greedy
,
implementation
,
sortings
800
x19933
1797F
Li Hua and Path
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
trees
3000
x358
1797E
Li Hua and Array
brute force
,
data structures
,
dsu
,
math
,
number theory
,
two pointers
2300
x1301
1797D
Li Hua and Tree
brute force
,
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1900
x4027
1797C
Li Hua and Chess
constructive algorithms
,
greedy
,
interactive
1600
x7754
1797B
Li Hua and Pattern
constructive algorithms
,
greedy
1100
x16316
1797A
Li Hua and Maze
constructive algorithms
,
flows
,
graphs
,
greedy
,
implementation
800
x17579
←
1
2
...
12
13
14
15
16
...
96
97
→
User lists
Name