Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
05:37:38
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
greedy
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
1635B
Avoid Local Maximums
greedy
800
x17954
1635A
Min Or Sum
bitmasks
,
greedy
800
x23046
1634A
Reverse and Concatenate
greedy
,
strings
800
x23948
1633E
Spanning Tree Queries
binary search
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1554
1633D
Make Them Equal
dp
,
greedy
1600
x14258
1633B
Minority
greedy
800
x27888
1632D
New Year Concert
binary search
,
data structures
,
greedy
,
math
,
number theory
,
two pointers
2000
x4725
1631B
Fun with Even Subarrays
dp
,
greedy
1100
x20560
1631A
Min Max Swap
greedy
800
x29552
1630D
Flipping Range
constructive algorithms
,
dp
,
greedy
,
number theory
2400
x1660
1630C
Paint the Middle
dp
,
greedy
,
sortings
,
two pointers
2200
x2957
1630B
Range and Partition
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x5795
1629B
GCD Arrays
greedy
,
math
,
number theory
800
x23550
1629A
Download More RAM
brute force
,
greedy
,
sortings
800
x29328
1628C
Grid Xor
constructive algorithms
,
greedy
,
implementation
,
interactive
,
math
2300
x3211
1628B
Peculiar Movie Preferences
greedy
,
strings
1700
x11685
1628A
Meximum Array
binary search
,
constructive algorithms
,
greedy
,
implementation
,
math
,
two pointers
1400
x15734
1627F
Not Splitting
geometry
,
graphs
,
greedy
,
implementation
,
shortest paths
2700
x591
1627B
Not Sitting
games
,
greedy
,
sortings
1300
x16687
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
1626B
Minor Reduction
greedy
,
strings
1100
x22888
1625B
Elementary Particles
brute force
,
greedy
,
sortings
1100
x16127
1625A
Ancient Civilization
bitmasks
,
greedy
,
math
800
x17289
1624G
MinOr Tree
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
1900
x6016
1624D
Palindromes Coloring
binary search
,
greedy
,
sortings
,
strings
1400
x17156
1624C
Division by Two and Permutation
constructive algorithms
,
flows
,
graph matchings
,
greedy
,
math
1100
x24981
1623E
Middle Duplication
data structures
,
dfs and similar
,
greedy
,
strings
,
trees
2500
x1122
1623C
Balanced Stone Heaps
binary search
,
greedy
1600
x12272
1622E
Math Test
bitmasks
,
brute force
,
greedy
2200
x1912
1622C
Set or Decrease
binary search
,
brute force
,
greedy
,
sortings
1600
x13186
1622B
Berland Music
data structures
,
greedy
,
math
,
sortings
1000
x21150
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
1621B
Integers Shop
data structures
,
greedy
,
implementation
1500
x13473
1620F
Bipartite Array
dp
,
greedy
2800
x618
1620D
Exact Change
brute force
,
constructive algorithms
,
greedy
2000
x4233
1620C
BA-String
brute force
,
dp
,
greedy
,
implementation
,
math
1800
x6601
1620B
Triangles on a Rectangle
geometry
,
greedy
,
math
1000
x21537
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
x9265
1619D
New Year's Problem
binary search
,
greedy
,
sortings
1800
x7625
1618G
Trader Problem
data structures
,
dsu
,
greedy
,
sortings
2200
x1606
1618D
Array and Operations
dp
,
greedy
,
math
1300
x19075
1617C
Paprika and Permutation
binary search
,
greedy
,
math
,
sortings
1300
x15058
1617A
Forbidden Subsequence
constructive algorithms
,
greedy
,
sortings
,
strings
800
x16305
1616E
Lexicographically Small Enough
brute force
,
data structures
,
greedy
,
strings
2200
x2498
1616D
Keep the Average High
dp
,
greedy
,
math
2000
x4928
1616B
Mirror in the String
greedy
,
strings
1100
x19733
1615E
Purple Crayon
data structures
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
,
sortings
,
trees
2400
x1495
1615C
Menorah
brute force
,
graphs
,
greedy
,
math
1600
x8412
1615B
And It's Non-Zero
bitmasks
,
greedy
,
math
1300
x16095
1615A
Closing The Gap
greedy
,
math
800
x20809
1614A
Divan and a Store
brute force
,
constructive algorithms
,
greedy
800
x23508
1613B
Absent Remainder
greedy
,
implementation
,
sortings
1000
x21789
1612G
Max Sum Array
combinatorics
,
constructive algorithms
,
greedy
,
sortings
2500
x856
1612F
Armor and Weapons
brute force
,
dp
,
greedy
,
shortest paths
2800
x616
1612E
Messages
brute force
,
dp
,
greedy
,
probabilities
,
sortings
2000
x2531
1612B
Special Permutation
constructive algorithms
,
greedy
900
x17294
1611G
Robot and Candies
data structures
,
graph matchings
,
greedy
2500
x649
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
1610H
Squid Game
data structures
,
dfs and similar
,
greedy
,
trees
3100
x502
1610G
AmShZ Wins a Bet
data structures
,
greedy
,
hashing
3300
x464
1610E
AmShZ and G.O.A.T.
binary search
,
brute force
,
greedy
,
implementation
,
math
2300
x1689
1610C
Keshi Is Throwing a Party
binary search
,
greedy
1600
x11722
1610B
Kalindrome Array
greedy
,
two pointers
1100
x16159
1609G
A Stroll Around the Matrix
data structures
,
greedy
,
math
3000
x404
1609D
Social Network
dsu
,
graphs
,
greedy
,
implementation
,
trees
1600
x7352
1609A
Divide and Multiply
greedy
,
implementation
,
math
,
number theory
900
x17182
1608C
Game Master
data structures
,
dfs and similar
,
dp
,
graphs
,
greedy
,
two pointers
1700
x6721
1608B
Build the Permutation
constructive algorithms
,
greedy
1200
x11778
1607H
Banquet Preparations 2
greedy
,
sortings
,
two pointers
2200
x1253
1607G
Banquet Preparations 1
greedy
2200
x1571
1607D
Blue-Red Permutation
greedy
,
math
,
sortings
1300
x16939
1606C
Banknotes
greedy
,
number theory
1400
x14237
1606B
Update Files
greedy
,
implementation
,
math
1100
x18718
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
1605C
Dominant Character
brute force
,
greedy
,
implementation
,
strings
1400
x17112
1605B
Reverse Sort
greedy
,
sortings
1000
x18123
1604A
Era
greedy
800
x21562
1603C
Extreme Extension
dp
,
greedy
,
math
,
number theory
2300
x2053
1601E
Phys Ed Online
data structures
,
dp
,
greedy
2900
x485
1601D
Difficult Mountain
data structures
,
dp
,
greedy
,
sortings
2700
x1474
1601C
Optimal Insertion
data structures
,
divide and conquer
,
dp
,
greedy
,
sortings
2300
x2050
1601A
Array Elimination
bitmasks
,
greedy
,
math
,
number theory
1300
x14837
1600E
Array Game
games
,
greedy
,
two pointers
1900
x2121
1599J
Bob's Beautiful Array
bitmasks
,
brute force
,
greedy
2600
x303
1599A
Weights
constructive algorithms
,
greedy
,
two pointers
2600
x689
1594C
Make Them Equal
brute force
,
greedy
,
math
,
strings
1200
x19824
1593G
Changing Brackets
constructive algorithms
,
data structures
,
dp
,
greedy
2200
x1719
1593E
Gardener and Tree
brute force
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
1600
x12564
1593C
Save More Mice
binary search
,
greedy
,
greedy
1000
x25027
1593B
Make it Divisible by 25
dfs and similar
,
dp
,
greedy
,
math
,
math
900
x27608
1592F2
Alice and Recoloring 2
constructive algorithms
,
flows
,
graph matchings
,
greedy
2800
x774
1592F1
Alice and Recoloring 1
constructive algorithms
,
greedy
2600
x909
←
1
2
...
9
10
11
12
13
...
29
30
→
User lists
Name