Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 986 (Div. 2)
07:43:35
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
dp
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
1545E1
AquaMoon and Time Stop (easy version)
data structures
,
dp
3500
x84
1542E2
Abnormal Permutation Pairs (hard version)
combinatorics
,
dp
,
fft
,
math
2700
x866
1542E1
Abnormal Permutation Pairs (easy version)
combinatorics
,
dp
,
fft
,
math
2400
x1254
1542D
Priority Queue
combinatorics
,
dp
,
implementation
,
math
,
ternary search
2200
x2650
1540C2
Converging Array (Hard Version)
dp
,
math
2900
x463
1540C1
Converging Array (Easy Version)
dp
,
math
2700
x629
1540B
Tree Array
brute force
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
,
trees
2300
x2642
1539E
Game with Cards
binary search
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
2500
x956
1539B
Love Song
dp
,
implementation
,
strings
800
x24639
1538F
Interesting Function
binary search
,
dp
,
math
,
number theory
1500
x19418
1538A
Stone Game
brute force
,
dp
,
greedy
800
x37084
1537E1
Erase and Extend (Easy Version)
binary search
,
brute force
,
dp
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
1600
x13055
1536C
Diluc and Kaeya
data structures
,
dp
,
hashing
,
number theory
1500
x14248
1535E
Gold Transfer
binary search
,
data structures
,
dp
,
greedy
,
interactive
,
trees
2200
x2780
1535D
Playoff Tournament
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1800
x7787
1535C
Unstable String
binary search
,
dp
,
greedy
,
implementation
,
strings
,
two pointers
1400
x16579
1534H
Lost Nodes
constructive algorithms
,
dp
,
graphs
,
interactive
,
sortings
,
trees
3500
x151
1534G
A New Beginning
data structures
,
dp
,
geometry
,
sortings
3300
x572
1534F2
Falling Sand (Hard Version)
dfs and similar
,
dp
,
graphs
,
greedy
3000
x563
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12870
1533H
Submatrices
*special problem
,
bitmasks
,
data structures
,
dp
x84
1531C
Симметричный амфитеатр
*special problem
,
constructive algorithms
,
dp
x650
1530H
Turing's Award
data structures
,
dp
3400
x158
1530F
Bingo
bitmasks
,
combinatorics
,
dp
,
math
,
probabilities
2600
x804
1528E
Mashtali and Hagh Trees
combinatorics
,
dp
,
trees
2900
x533
1528B
Kavi on Pairing Duty
combinatorics
,
dp
,
math
1700
x8743
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x14928
1527E
Partition Game
binary search
,
data structures
,
divide and conquer
,
dp
2500
x2342
1526C1
Potions (Easy Version)
brute force
,
data structures
,
dp
,
greedy
1500
x22777
1526B
I Hate 1111
dp
,
math
,
number theory
1400
x30951
1525F
Goblins And Gnomes
brute force
,
dp
,
flows
,
graph matchings
2800
x331
1525E
Assimilation IV
combinatorics
,
dp
,
math
,
probabilities
,
two pointers
2100
x2076
1525D
Armchairs
dp
,
flows
,
graph matchings
,
greedy
1800
x9844
1523H
Hopping Around the Array
data structures
,
dp
3500
x249
1523F
Favorite Game
bitmasks
,
dp
3300
x431
1523E
Crypto Lights
combinatorics
,
dp
,
math
,
probabilities
2600
x1695
1523D
Love-Hate
bitmasks
,
brute force
,
dp
,
probabilities
2400
x2183
1521E
Nastia and a Beautiful Matrix
binary search
,
constructive algorithms
,
dp
,
greedy
2700
x681
1521D
Nastia Plays with a Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2500
x1971
1519F
Chests and Keys
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
3200
x432
1519D
Maximum Sum of Products
brute force
,
dp
,
implementation
,
math
,
two pointers
1600
x15373
1519B
The Cake Is a Lie
dp
,
math
800
x31013
1517H
Fly Around the World
dp
,
geometry
3500
x73
1517F
Reunion
combinatorics
,
dp
,
trees
3200
x463
1517D
Explorer Space
dp
,
graphs
,
shortest paths
1800
x7759
1516E
Baby Ehab Plays with Permutations
combinatorics
,
dp
,
math
2500
x881
1516D
Cut
binary search
,
data structures
,
dp
,
graphs
,
number theory
,
two pointers
2100
x4418
1516C
Baby Ehab Partitions Again
bitmasks
,
constructive algorithms
,
dp
,
math
1700
x12011
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x19615
1515E
Phoenix and Computers
combinatorics
,
dp
,
math
2200
x3616
1513C
Add One
dp
,
matrices
1600
x14133
1512G
Short Task
brute force
,
dp
,
math
,
number theory
1700
x8292
1512F
Education
brute force
,
dp
,
greedy
,
implementation
1900
x6274
1511G
Chips on a Board
bitmasks
,
brute force
,
data structures
,
dp
,
games
,
two pointers
2700
x798
1511F
Chainword
brute force
,
data structures
,
dp
,
matrices
,
string suffix structures
,
strings
2700
x446
1511E
Colorings and Dominoes
combinatorics
,
dp
,
greedy
,
math
2100
x2611
1510H
Hard Optimization
dp
3200
x98
1510D
Digits
dp
,
math
,
number theory
2100
x1929
1509C
The Sports Festival
dp
,
greedy
1800
x12701
1506G
Maximize the Remaining String
brute force
,
data structures
,
dp
,
greedy
,
strings
2000
x4373
1503E
2-Coloring
combinatorics
,
dp
,
math
3100
x713
1503C
Travelling Salesman Problem
binary search
,
data structures
,
dp
,
greedy
,
shortest paths
,
sortings
,
two pointers
2200
x3460
1501B
Napoleon Cake
dp
,
implementation
,
sortings
900
x19279
1500F
Cupboards Jumps
dp
3500
x354
1499F
Diameter Cuts
combinatorics
,
dfs and similar
,
dp
,
trees
2400
x1364
1499E
Chaotic Merge
combinatorics
,
dp
,
math
,
strings
2400
x1515
1499D
The Number of Pairs
dp
,
math
,
number theory
2100
x5913
1499B
Binary Removals
brute force
,
dp
,
greedy
,
implementation
1000
x20829
1498F
Christmas Game
bitmasks
,
data structures
,
dfs and similar
,
dp
,
games
,
math
,
trees
2500
x926
1498D
Bananas in a Microwave
dfs and similar
,
dp
,
graphs
,
implementation
2200
x2339
1498C
Planar Reflections
brute force
,
data structures
,
dp
1600
x9789
1497E2
Square-Free Division (hard version)
data structures
,
dp
,
greedy
,
math
,
number theory
,
two pointers
2500
x1736
1497E1
Square-Free Division (easy version)
data structures
,
dp
,
greedy
,
math
,
number theory
,
two pointers
1700
x8395
1497D
Genius
bitmasks
,
dp
,
graphs
,
number theory
2500
x1538
1495F
Squares
constructive algorithms
,
data structures
,
dp
,
graphs
,
trees
3300
x341
1494C
1D Sokoban
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1900
x5452
1492C
Maximum width
binary search
,
data structures
,
dp
,
greedy
,
two pointers
1500
x16177
1491D
Zookeeper and The Infinite Zoo
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
1800
x7225
1491C
Pekora and Trampoline
brute force
,
data structures
,
dp
,
greedy
,
implementation
1700
x7972
1488E
Palindromic Doubles
*special problem
,
data structures
,
dp
2200
x214
1487G
String Counting
combinatorics
,
dp
,
fft
,
math
2700
x600
1487F
Ones
dp
,
greedy
,
shortest paths
2900
x385
1486F
Pairs of Paths
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2600
x658
1486E
Paired Payment
binary search
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graphs
,
shortest paths
2200
x2951
1486D
Max Median
binary search
,
data structures
,
dp
2100
x7386
1485F
Copy or Prefix Sum
combinatorics
,
data structures
,
dp
,
sortings
2400
x1989
1485E
Move and Swap
dfs and similar
,
dp
,
greedy
,
trees
2500
x1318
1485B
Replace and Keep Sorted
dp
,
implementation
,
math
1200
x17131
1482E
Skyline Photo
data structures
,
divide and conquer
,
dp
2100
x3235
1481F
AB Tree
dp
,
greedy
,
trees
3100
x484
1481E
Sorting Books
data structures
,
dp
,
greedy
2500
x2119
1479E
School Clubs
dp
,
fft
,
math
,
number theory
,
probabilities
3500
x213
1479B2
Painting the Array II
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
2100
x4085
1479B1
Painting the Array I
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
1900
x7003
1478B
Nezzar and Lucky Number
brute force
,
dp
,
greedy
,
math
1100
x18320
1476F
Lanterns
binary search
,
data structures
,
dp
3000
x796
1476D
Journey
dfs and similar
,
dp
,
dsu
,
implementation
1700
x8665
1476C
Longest Simple Cycle
dp
,
graphs
,
greedy
1600
x11417
1475G
Strange Beauty
dp
,
math
,
number theory
,
sortings
1900
x6889
1475D
Cleaning the Phone
binary search
,
dp
,
sortings
,
two pointers
1800
x10226
←
1
2
...
6
7
8
9
10
...
21
22
→
User lists
Name