Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 986 (Div. 2)
08:52:12
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
1620F
Bipartite Array
dp
,
greedy
2800
x617
1620C
BA-String
brute force
,
dp
,
greedy
,
implementation
,
math
1800
x6593
1619E
MEX and Increments
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
,
math
,
sortings
1700
x9263
1618D
Array and Operations
dp
,
greedy
,
math
1300
x19041
1617E
Christmas Chocolates
dfs and similar
,
dp
,
games
,
graphs
,
implementation
,
math
,
number theory
,
shortest paths
,
trees
2700
x880
1616H
Keep XOR Low
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
,
dp
,
math
3000
x984
1616G
Just Add an Edge
dfs and similar
,
dp
,
graphs
3500
x282
1616D
Keep the Average High
dp
,
greedy
,
math
2000
x4927
1615F
LEGOndary Grandmaster
combinatorics
,
dp
,
math
2800
x885
1614D2
Divan and Kostomuksha (hard version)
dp
,
number theory
2300
x2382
1614D1
Divan and Kostomuksha (easy version)
dp
,
number theory
2100
x3953
1614C
Divan and bitwise operations
bitmasks
,
combinatorics
,
constructive algorithms
,
dp
,
math
1500
x10309
1613D
MEX Sequences
dp
,
math
1900
x4727
1612F
Armor and Weapons
brute force
,
dp
,
greedy
,
shortest paths
2800
x613
1612E
Messages
brute force
,
dp
,
greedy
,
probabilities
,
sortings
2000
x2531
1611E2
Escape The Maze (hard version)
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1900
x3847
1610D
Not Quite Lee
combinatorics
,
dp
,
math
,
number theory
2000
x2722
1609E
William The Oblivious
bitmasks
,
data structures
,
dp
,
matrices
2400
x2132
1609C
Complex Market Analysis
binary search
,
dp
,
implementation
,
number theory
,
schedules
,
two pointers
1400
x9789
1608F
MEX counting
combinatorics
,
dp
,
implementation
3200
x608
1608C
Game Master
data structures
,
dfs and similar
,
dp
,
graphs
,
greedy
,
two pointers
1700
x6715
1606F
Tree Queries
brute force
,
dp
,
trees
2800
x562
1606E
Arena
combinatorics
,
dp
,
math
2100
x3567
1605F
PalindORme
combinatorics
,
dp
2900
x306
1603F
October 18, 2017
combinatorics
,
dp
,
implementation
,
math
2700
x283
1603E
A Perfect Problem
combinatorics
,
dp
,
math
3200
x440
1603D
Artistic Partition
divide and conquer
,
dp
,
number theory
3000
x686
1603C
Extreme Extension
dp
,
greedy
,
math
,
number theory
2300
x2049
1601E
Phys Ed Online
data structures
,
dp
,
greedy
2900
x483
1601D
Difficult Mountain
data structures
,
dp
,
greedy
,
sortings
2700
x1473
1601C
Optimal Insertion
data structures
,
divide and conquer
,
dp
,
greedy
,
sortings
2300
x2047
1601B
Frog Traveler
data structures
,
dfs and similar
,
dp
,
graphs
,
shortest paths
,
two pointers
1900
x4996
1598F
RBS
binary search
,
bitmasks
,
brute force
,
data structures
,
dp
2400
x1444
1598E
Staircases
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
dp
,
implementation
,
math
2100
x2325
1598C
Delete Two Elements
data structures
,
dp
,
implementation
,
math
,
two pointers
1200
x21046
1598A
Computer Game
brute force
,
dfs and similar
,
dp
,
implementation
800
x23495
1594E2
Rubik's Cube Coloring (hard version)
brute force
,
dp
,
implementation
,
math
,
trees
2300
x1493
1594D
The Number of Imposters
constructive algorithms
,
dfs and similar
,
dp
,
dsu
,
graphs
1700
x7571
1593G
Changing Brackets
constructive algorithms
,
data structures
,
dp
,
greedy
2200
x1710
1593F
Red-Black Number
dfs and similar
,
dp
,
implementation
,
math
,
meet-in-the-middle
2100
x2460
1593B
Make it Divisible by 25
dfs and similar
,
dp
,
greedy
,
math
,
math
900
x27567
1592C
Bakry and Partitioning
bitmasks
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
trees
1700
x8067
1585G
Poachers
dp
,
games
,
graphs
,
trees
2500
x185
1585F
Non-equal Neighbours
combinatorics
,
dp
,
math
2400
x1256
1584F
Strange LCS
bitmasks
,
dp
,
graphs
,
greedy
,
strings
2600
x984
1583C
Omkar and Determination
data structures
,
dp
1700
x6970
1582F2
Korney Korneevich and XOR (hard version)
binary search
,
brute force
,
dp
,
greedy
,
two pointers
2400
x1838
1582F1
Korney Korneevich and XOR (easy version)
bitmasks
,
dp
,
greedy
1800
x5669
1582E
Pchelyonok and Segments
binary search
,
data structures
,
dp
,
greedy
,
math
2000
x3780
1580D
Subsequence
brute force
,
divide and conquer
,
dp
,
greedy
,
trees
2900
x900
1580B
Mathematics Curriculum
brute force
,
combinatorics
,
dp
,
trees
2600
x1056
1580A
Portal
brute force
,
data structures
,
dp
,
greedy
,
implementation
1700
x3669
1579G
Minimal Coverage
dp
2200
x2397
1575L
Longest Array Deconstruction
data structures
,
divide and conquer
,
dp
,
sortings
2100
x1426
1575H
Holiday Wall Ornaments
dp
,
strings
2200
x627
1575D
Divisible by Twenty-Five
brute force
,
dfs and similar
,
dp
1800
x2566
1574F
Occurrences
combinatorics
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
2700
x627
1572E
Polygon
binary search
,
dp
,
geometry
3000
x298
1572C
Paint
dp
,
greedy
2700
x1498
1572A
Book
binary search
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
1800
x9109
1571G
A Battle Against a Dragon
*special problem
,
data structures
,
dp
2500
x76
1571F
Kotlinforces
*special problem
,
constructive algorithms
,
dp
2000
x189
1571E
Fix the String
*special problem
,
bitmasks
,
dp
,
greedy
1700
x340
1569F
Palindromic Hamiltonian Path
brute force
,
dfs and similar
,
dp
,
graphs
,
hashing
3000
x259
1567C
Carrying Conundrum
bitmasks
,
combinatorics
,
dp
,
math
1600
x12226
1566H
Xor-quiz
constructive algorithms
,
dp
,
interactive
,
math
,
number theory
3200
x129
1566F
Points Movement
data structures
,
dp
,
greedy
,
implementation
,
sortings
2600
x958
1566E
Buds Re-hanging
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2000
x4159
1566C
MAX-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
1000
x17646
1566B
MIN-MEX Cut
bitmasks
,
constructive algorithms
,
dp
,
greedy
800
x19703
1562E
Rescue Niwen!
dp
,
greedy
,
string suffix structures
,
strings
2500
x1413
1562D1
Two Hundred Twenty One (easy version)
data structures
,
dp
,
math
1700
x6363
1561D1
Up the Strip (simplified version)
brute force
,
data structures
,
dp
,
math
,
number theory
1700
x5637
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4419
1559E
Mocha and Stars
combinatorics
,
dp
,
fft
,
math
,
number theory
2200
x2324
1559B
Mocha and Red and Blue
dp
,
greedy
900
x22630
1558B
Up the Strip
brute force
,
dp
,
math
,
number theory
,
two pointers
1900
x4822
1557D
Ezzat and Grid
data structures
,
dp
,
greedy
2200
x2569
1557C
Moamen and XOR
bitmasks
,
combinatorics
,
dp
,
math
,
matrices
1700
x8649
1556F
Sports Betting
bitmasks
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
2500
x1255
1556E
Equilibrium
data structures
,
dp
,
greedy
2200
x2727
1555D
Say No to Palindromes
brute force
,
constructive algorithms
,
dp
,
strings
1600
x12489
1555C
Coin Rows
brute force
,
constructive algorithms
,
dp
,
implementation
1300
x21898
1554E
You
dfs and similar
,
dp
,
math
,
number theory
2600
x1233
1553I
Stairs
combinatorics
,
divide and conquer
,
dp
,
fft
,
math
3400
x205
1553D
Backspace
dp
,
greedy
,
strings
,
two pointers
1500
x13819
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x17996
1553B
Reverse String
brute force
,
dp
,
hashing
,
implementation
,
strings
1300
x14217
1552F
Telepanting
binary search
,
data structures
,
dp
,
sortings
2200
x2965
1552D
Array Differentiation
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
math
1800
x7068
1551F
Equidistant Vertices
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2200
x1852
1551E
Fixed Points
binary search
,
brute force
,
dp
2000
x3968
1550F
Jumping Around
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
graphs
,
shortest paths
2700
x679
1550E
Stringforces
binary search
,
bitmasks
,
brute force
,
dp
,
strings
,
two pointers
2500
x1545
1549B
Gregor and the Pawn Game
dfs and similar
,
dp
,
flows
,
graph matchings
,
graphs
,
greedy
,
implementation
800
x24520
1548C
The Three Little Pigs
combinatorics
,
dp
,
fft
,
math
2500
x1841
1547G
How Many Paths?
dfs and similar
,
dp
,
graphs
,
trees
2100
x3025
1547E
Air Conditioners
data structures
,
dp
,
implementation
,
shortest paths
,
sortings
,
two pointers
1500
x14559
1545F
AquaMoon and Potatoes
brute force
,
data structures
,
dp
3500
x110
1545E2
AquaMoon and Time Stop (hard version)
data structures
,
dp
3500
x88
←
1
2
...
5
6
7
8
9
...
21
22
→
User lists
Name