Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
08:17:43
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
1826F
Fading into Fog
geometry
,
interactive
,
math
,
probabilities
2800
x386
1826E
Walk the Runway
bitmasks
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
2400
x1628
1826D
Running Miles
brute force
,
dp
,
greedy
1700
x10119
1824E
LuoTianyi and Cartridge
data structures
,
trees
3500
x134
1824D
LuoTianyi and the Function
data structures
3000
x497
1824C
LuoTianyi and XOR-Tree
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
trees
2500
x1419
1824B2
LuoTianyi and the Floating Islands (Hard Version)
combinatorics
,
dfs and similar
,
math
,
probabilities
,
trees
2300
x2701
1824B1
LuoTianyi and the Floating Islands (Easy Version)
combinatorics
,
math
,
probabilities
,
trees
1800
x4669
1824A
LuoTianyi and the Show
greedy
,
implementation
1400
x11391
1823F
Random Walk
dp
,
graphs
,
math
,
probabilities
,
trees
2600
x896
1823E
Removing Graph
brute force
,
dp
,
games
,
graphs
,
math
2500
x1259
1823D
Unique Palindromes
constructive algorithms
,
math
,
strings
1900
x3871
1822G2
Magic Triples (Hard Version)
brute force
,
data structures
,
math
,
number theory
2200
x2463
1822G1
Magic Triples (Easy Version)
brute force
,
data structures
,
math
,
number theory
1700
x7159
1822F
Gardening Friends
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x6262
1822E
Making Anti-Palindromes
greedy
,
math
,
strings
1600
x10586
1821F
Timber
combinatorics
,
dp
,
fft
,
math
2600
x763
1821E
Rearrange Brackets
brute force
,
dp
,
greedy
,
sortings
,
strings
2100
x2400
1821D
Black Cells
binary search
,
brute force
,
greedy
,
math
1900
x5024
1819F
Willy-nilly, Crack, Into Release!
data structures
,
dp
3500
x133
1819E
Roads in E City
interactive
,
math
,
probabilities
,
trees
3200
x299
1819D
Misha and Apples
brute force
,
data structures
,
dp
,
two pointers
2800
x675
1819C
The Fox and the Complete Tree Traversal
constructive algorithms
,
dp
,
implementation
,
math
,
trees
2400
x1492
1819B
The Butcher
geometry
,
greedy
,
implementation
,
sortings
,
two pointers
1900
x3625
1817F
Entangled Substrings
string suffix structures
,
strings
3500
x213
1817E
Half-sum
brute force
,
divide and conquer
,
greedy
3400
x265
1817D
Toy Machine
constructive algorithms
,
games
,
implementation
2700
x785
1817C
Similar Polynomials
combinatorics
,
math
2400
x1009
1817B
Fish Graph
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
1900
x4182
1817A
Almost Increasing Subsequence
binary search
,
data structures
,
greedy
1500
x11144
1815F
OH NO1 (-2-3-4)
constructive algorithms
,
graphs
,
math
3500
x241
1815E
Bosco and Particle
dp
,
math
,
number theory
,
strings
3100
x349
1815D
XOR Counting
bitmasks
,
combinatorics
,
dp
,
math
2600
x1190
1815C
Between
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
2200
x2000
1815B
Sum Graph
brute force
,
constructive algorithms
,
graphs
,
implementation
,
interactive
,
shortest paths
,
trees
2000
x3083
1814F
Communication Towers
brute force
,
divide and conquer
,
dsu
2700
x637
1814E
Chain Chips
data structures
,
dp
,
matrices
2300
x1372
1814D
Balancing Weapons
binary search
,
brute force
,
data structures
,
math
,
two pointers
2500
x881
1814C
Search in Parallel
constructive algorithms
,
greedy
,
sortings
1500
x10955
1814B
Long Legs
brute force
,
math
1700
x10131
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
x12499
1811D
Umka and a Long Flight
constructive algorithms
,
implementation
,
math
1600
x7591
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
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
x6387
1809C
Sum on Subarrays
constructive algorithms
,
greedy
,
math
1500
x12949
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
1807F
Bouncy Ball
brute force
,
dfs and similar
,
implementation
1700
x6374
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
x2872
1806D
DSU Master
combinatorics
,
dp
,
dsu
,
math
2500
x939
1806C
Sequence Master
brute force
,
constructive algorithms
,
math
1600
x7685
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
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
x12256
1801G
A task for substrings
data structures
,
string suffix structures
,
strings
3400
x385
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
x2273
1801C
Music Festival
binary search
,
data structures
,
dp
,
greedy
,
sortings
1900
x3503
1801B
Buying gifts
data structures
,
greedy
,
sortings
1800
x6369
1801A
The Very Beautiful Blanket
bitmasks
,
constructive algorithms
1600
x8652
1800G
Symmetree
dfs and similar
,
hashing
,
implementation
,
trees
2200
x2111
1800F
Dasha and Nightmares
bitmasks
,
hashing
,
meet-in-the-middle
,
strings
1900
x3961
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
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
x850
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
x2532
1799D1
Hot Start Up (easy version)
dp
1900
x4581
1799C
Double Lexicographically Minimum
greedy
,
strings
1700
x5923
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
1797F
Li Hua and Path
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
trees
3000
x358
←
1
2
...
7
8
9
10
11
...
69
70
→
User lists
Name