Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Contest is running
Codeforces Round 987 (Div. 2)
01:58:23
*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
1626F
A Random Code Problem
combinatorics
,
dp
,
math
,
number theory
,
probabilities
2800
x737
1626E
Black and White Tree
dfs and similar
,
greedy
,
trees
2400
x1591
1626D
Martial Arts Tournament
binary search
,
brute force
,
greedy
,
math
2100
x3936
1626C
Monsters And Spells
binary search
,
data structures
,
dp
,
greedy
,
implementation
,
math
,
two pointers
1700
x10974
1625E2
Cats on the Upgrade (hard version)
binary search
,
data structures
,
dfs and similar
,
graphs
,
trees
2800
x601
1625E1
Cats on the Upgrade (easy version)
brute force
,
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
graphs
,
trees
2500
x1051
1625D
Binary Spiders
bitmasks
,
data structures
,
implementation
,
math
,
sortings
,
trees
2300
x2067
1625C
Road Optimization
dp
1700
x10808
1624G
MinOr Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x6016
1624F
Interacdive Problem
binary search
,
constructive algorithms
,
interactive
2000
x3385
1624E
Masha-forgetful
brute force
,
constructive algorithms
,
dp
,
hashing
,
implementation
,
strings
2000
x4146
1624D
Palindromes Coloring
binary search
,
greedy
,
sortings
,
strings
1400
x17156
1623E
Middle Duplication
data structures
,
dfs and similar
,
greedy
,
strings
,
trees
2500
x1122
1623D
Robot Cleaner Revisit
implementation
,
math
,
probabilities
2300
x1384
1623C
Balanced Stone Heaps
binary search
,
greedy
1600
x12272
1622F
Quadratic Set
constructive algorithms
,
hashing
,
math
,
number theory
2900
x673
1622E
Math Test
bitmasks
,
brute force
,
greedy
2200
x1912
1622D
Shuffle
combinatorics
,
math
,
two pointers
2000
x4109
1622C
Set or Decrease
binary search
,
brute force
,
greedy
,
sortings
1600
x13187
1621I
Two Sequences
data structures
,
hashing
,
string suffix structures
3500
x118
1621H
Trains and Airplanes
dfs and similar
,
graphs
,
shortest paths
,
trees
3500
x181
1621G
Weighted Increasing Subsequences
data structures
,
dp
,
math
3200
x656
1621F
Strange Instructions
data structures
,
greedy
,
implementation
2700
x555
1621E
New School
binary search
,
data structures
,
dp
,
greedy
,
implementation
,
sortings
2300
x1766
1621D
The Winter Hike
constructive algorithms
,
greedy
,
math
2100
x4090
1621C
Hidden Permutations
dfs and similar
,
interactive
,
math
1700
x6942
1621B
Integers Shop
data structures
,
greedy
,
implementation
1500
x13474
1620G
Subsequences Galore
bitmasks
,
combinatorics
,
dp
2400
x910
1620F
Bipartite Array
dp
,
greedy
2800
x618
1620E
Replace the Numbers
constructive algorithms
,
data structures
,
dsu
,
implementation
1900
x8345
1620D
Exact Change
brute force
,
constructive algorithms
,
greedy
2000
x4233
1620C
BA-String
brute force
,
dp
,
greedy
,
implementation
,
math
1800
x6601
1619H
Permutation and Queries
brute force
,
data structures
,
divide and conquer
,
two pointers
2400
x1168
1619G
Unusual Minesweeper
binary search
,
dfs and similar
,
dsu
,
greedy
,
sortings
2000
x2418
1619F
Let's Play the Hat?
brute force
,
constructive algorithms
,
greedy
,
math
2000
x2112
1619E
MEX and Increments
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
,
math
,
sortings
1700
x9266
1619D
New Year's Problem
binary search
,
greedy
,
sortings
1800
x7626
1618G
Trader Problem
data structures
,
dsu
,
greedy
,
sortings
2200
x1610
1618F
Reverse
bitmasks
,
constructive algorithms
,
dfs and similar
,
implementation
,
math
,
strings
2000
x4286
1618E
Singers' Tour
constructive algorithms
,
math
1700
x7249
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x882
1617D2
Too Many Impostors (hard version)
constructive algorithms
,
implementation
,
interactive
,
math
2400
x1804
1617D1
Too Many Impostors (easy version)
constructive algorithms
,
implementation
,
interactive
1800
x4726
1616H
Keep XOR Low
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
,
dp
,
math
3000
x985
1616G
Just Add an Edge
dfs and similar
,
dp
,
graphs
3500
x282
1616F
Tricolor Triangles
brute force
,
graphs
,
math
,
matrices
2900
x595
1616E
Lexicographically Small Enough
brute force
,
data structures
,
greedy
,
strings
2200
x2498
1616D
Keep the Average High
dp
,
greedy
,
math
2000
x4928
1616C
Representative Edges
brute force
,
geometry
,
implementation
,
math
1500
x12294
1615H
Reindeer Games
binary search
,
constructive algorithms
,
data structures
,
divide and conquer
,
flows
,
graphs
,
shortest paths
3000
x330
1615G
Maximum Adjacent Pairs
constructive algorithms
,
graph matchings
3300
x153
1615F
LEGOndary Grandmaster
combinatorics
,
dp
,
math
2800
x894
1615E
Purple Crayon
data structures
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1495
1615D
X(or)-mas Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
trees
2200
x1924
1615C
Menorah
brute force
,
graphs
,
greedy
,
math
1600
x8412
1614E
Divan and a Cottage
binary search
,
data structures
2600
x832
1614D2
Divan and Kostomuksha (hard version)
dp
,
number theory
2300
x2387
1614D1
Divan and Kostomuksha (easy version)
dp
,
number theory
2100
x3961
1614C
Divan and bitwise operations
bitmasks
,
combinatorics
,
constructive algorithms
,
dp
,
math
1500
x10315
1613F
Tree Coloring
combinatorics
,
divide and conquer
,
fft
2600
x698
1613E
Crazy Robot
dfs and similar
,
graphs
2000
x5212
1613D
MEX Sequences
dp
,
math
1900
x4734
1612G
Max Sum Array
combinatorics
,
constructive algorithms
,
greedy
,
sortings
2500
x857
1612F
Armor and Weapons
brute force
,
dp
,
greedy
,
shortest paths
2800
x617
1612E
Messages
brute force
,
dp
,
greedy
,
probabilities
,
sortings
2000
x2532
1612D
X-Magic Pair
math
,
number theory
1600
x9279
1611G
Robot and Candies
data structures
,
graph matchings
,
greedy
2500
x649
1611F
ATM and Students
binary search
,
data structures
,
two pointers
1800
x6505
1611E2
Escape The Maze (hard version)
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1900
x3850
1611E1
Escape The Maze (easy version)
dfs and similar
,
greedy
,
shortest paths
,
trees
,
two pointers
1700
x7366
1611D
Weights Assignment For Tree Edges
constructive algorithms
,
trees
1500
x9944
1610I
Mashtali vs AtCoder
games
,
trees
3100
x286
1610H
Squid Game
data structures
,
dfs and similar
,
greedy
,
trees
3100
x502
1610G
AmShZ Wins a Bet
data structures
,
greedy
,
hashing
3300
x464
1610F
Mashtali: a Space Oddysey
constructive algorithms
,
dfs and similar
,
graphs
3000
x543
1610E
AmShZ and G.O.A.T.
binary search
,
brute force
,
greedy
,
implementation
,
math
2300
x1690
1610D
Not Quite Lee
combinatorics
,
dp
,
math
,
number theory
2000
x2726
1610C
Keshi Is Throwing a Party
binary search
,
greedy
1600
x11723
1609H
Pushing Robots
3500
x93
1609G
A Stroll Around the Matrix
data structures
,
greedy
,
math
3000
x404
1609F
Interesting Sections
data structures
,
divide and conquer
,
meet-in-the-middle
,
two pointers
2800
x796
1609E
William The Oblivious
bitmasks
,
data structures
,
dp
,
matrices
2400
x2134
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x7352
1609C
Complex Market Analysis
binary search
,
dp
,
implementation
,
number theory
,
schedules
,
two pointers
1400
x9793
1608G
Alphabetic Tree
binary search
,
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
3500
x161
1608F
MEX counting
combinatorics
,
dp
,
implementation
3200
x609
1608E
The Cells on the Paper
binary search
,
implementation
,
sortings
2800
x438
1608D
Dominoes
combinatorics
,
fft
,
graphs
,
math
,
number theory
2400
x1400
1608C
Game Master
data structures
,
dfs and similar
,
dp
,
graphs
,
greedy
,
two pointers
1700
x6721
1607H
Banquet Preparations 2
greedy
,
sortings
,
two pointers
2200
x1253
1607G
Banquet Preparations 1
greedy
2200
x1571
1607F
Robot on the Board 2
brute force
,
dfs and similar
,
graphs
,
implementation
2300
x1954
1607E
Robot on the Board 1
implementation
1600
x9363
1606F
Tree Queries
brute force
,
dp
,
trees
2800
x564
1606E
Arena
combinatorics
,
dp
,
math
2100
x3574
1606D
Red-Blue Matrix
brute force
,
constructive algorithms
,
implementation
,
sortings
2400
x1464
1606C
Banknotes
greedy
,
number theory
1400
x14238
1605F
PalindORme
combinatorics
,
dp
2900
x307
1605E
Array Equalizer
binary search
,
greedy
,
implementation
,
math
,
number theory
,
sortings
,
two pointers
2400
x1056
1605D
Treelabeling
bitmasks
,
constructive algorithms
,
dfs and similar
,
games
,
greedy
,
implementation
,
trees
2100
x2957
←
1
2
...
14
15
16
17
18
...
69
70
→
User lists
Name