Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
03:34:53
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
1573B
Swaps
greedy
,
math
,
sortings
1400
x14642
1572A
Book
binary search
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
1800
x9118
1571E
Fix the String
*special problem
,
bitmasks
,
dp
,
greedy
1700
x340
1571D
Sweepstake
*special problem
,
brute force
,
constructive algorithms
,
implementation
,
math
1800
x334
1571C
Rhyme
*special problem
,
implementation
1800
x380
1571B
Epic Novel
*special problem
,
math
1300
x721
1569D
Inconvenient Pairs
binary search
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x4401
1569C
Jury Meeting
combinatorics
,
math
1500
x12096
1567C
Carrying Conundrum
bitmasks
,
combinatorics
,
dp
,
math
1600
x12233
1566D2
Seating Arrangements (hard version)
data structures
,
greedy
,
implementation
,
sortings
,
two pointers
1600
x7885
1562D1
Two Hundred Twenty One (easy version)
data structures
,
dp
,
math
1700
x6366
1562C
Rings
constructive algorithms
,
math
1500
x13367
1561D1
Up the Strip (simplified version)
brute force
,
data structures
,
dp
,
math
,
number theory
1700
x5640
1561C
Deep Down Below
binary search
,
greedy
,
sortings
1300
x14937
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x6178
1560E
Polycarp and String Transformation
binary search
,
implementation
,
sortings
,
strings
1800
x8096
1560D
Make a Power of Two
greedy
,
math
,
strings
1300
x18273
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13960
1558B
Up the Strip
brute force
,
dp
,
math
,
number theory
,
two pointers
1900
x4822
1558A
Charmed by the Game
brute force
,
math
1300
x11123
1557C
Moamen and XOR
bitmasks
,
combinatorics
,
dp
,
math
,
matrices
1700
x8654
1556D
Take a Guess
bitmasks
,
constructive algorithms
,
interactive
,
math
1800
x7050
1556C
Compressed Bracket Sequence
brute force
,
implementation
1800
x5820
1556B
Take Your Places!
implementation
1300
x12736
1555D
Say No to Palindromes
brute force
,
constructive algorithms
,
dp
,
strings
1600
x12510
1555C
Coin Rows
brute force
,
constructive algorithms
,
dp
,
implementation
1300
x21929
1555B
Two Tables
brute force
1300
x16147
1554D
Diane
constructive algorithms
,
greedy
,
strings
1800
x9539
1554C
Mikasa
binary search
,
bitmasks
,
greedy
,
implementation
1800
x8964
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x12859
1553D
Backspace
dp
,
greedy
,
strings
,
two pointers
1500
x13828
1553B
Reverse String
brute force
,
dp
,
hashing
,
implementation
,
strings
1300
x14223
1552D
Array Differentiation
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
math
1800
x7075
1552C
Maximize the Intersections
combinatorics
,
constructive algorithms
,
geometry
,
greedy
,
sortings
1800
x5943
1552B
Running for Gold
combinatorics
,
graphs
,
greedy
,
sortings
1500
x15533
1551D1
Domino (easy version)
constructive algorithms
,
math
1700
x7133
1551C
Interesting Story
greedy
,
sortings
,
strings
1500
x13386
1551B2
Wonderful Coloring - 2
binary search
,
constructive algorithms
,
data structures
,
greedy
1400
x15591
1550C
Manhattan Subarrays
brute force
,
geometry
,
greedy
,
implementation
1700
x10237
1548B
Integers Have Friends
binary search
,
data structures
,
divide and conquer
,
math
,
number theory
,
two pointers
1800
x9976
1548A
Web of Lies
brute force
,
graphs
,
greedy
1400
x16524
1547F
Array Stabilization (GCD version)
binary search
,
brute force
,
data structures
,
divide and conquer
,
number theory
,
two pointers
1900
x5908
1547E
Air Conditioners
data structures
,
dp
,
implementation
,
shortest paths
,
sortings
,
two pointers
1500
x14572
1547D
Co-growing Sequence
bitmasks
,
constructive algorithms
,
greedy
1300
x16803
1545B
AquaMoon and Chess
combinatorics
,
math
1900
x6000
1545A
AquaMoon and Strange Sort
sortings
1500
x13983
1543D1
RPD and Rap Sheet (Easy Version)
bitmasks
,
constructive algorithms
,
interactive
,
math
1700
x7637
1543C
Need for Pink Slips
bitmasks
,
brute force
,
dfs and similar
,
implementation
,
math
,
probabilities
1900
x5316
1542C
Strange Function
math
,
number theory
1600
x14337
1542B
Plus and Multiply
constructive algorithms
,
math
,
number theory
1500
x23334
1540A
Great Graphs
constructive algorithms
,
graphs
,
greedy
,
shortest paths
,
sortings
1400
x14007
1539D
PriceFixed
binary search
,
greedy
,
implementation
,
sortings
,
two pointers
1600
x11715
1538F
Interesting Function
binary search
,
dp
,
math
,
number theory
1500
x19428
1538D
Another Problem About Dividing Numbers
constructive algorithms
,
math
,
number theory
1700
x13707
1538C
Number of Pairs
binary search
,
data structures
,
math
,
two pointers
1300
x28890
1537E1
Erase and Extend (Easy Version)
binary search
,
brute force
,
dp
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
1600
x13102
1537D
Deleting Divisors
games
,
math
,
number theory
1700
x12489
1536C
Diluc and Kaeya
data structures
,
dp
,
hashing
,
number theory
1500
x14272
1535D
Playoff Tournament
data structures
,
dfs and similar
,
dp
,
implementation
,
trees
1800
x7792
1535C
Unstable String
binary search
,
dp
,
greedy
,
implementation
,
strings
,
two pointers
1400
x16585
1534D
Lost Tree
constructive algorithms
,
interactive
,
trees
1800
x6083
1534C
Little Alawn's Puzzle
combinatorics
,
dp
,
dsu
,
graphs
,
math
1300
x12877
1530D
Secret Santa
constructive algorithms
,
flows
,
graphs
,
greedy
,
math
1600
x9280
1528B
Kavi on Pairing Duty
combinatorics
,
dp
,
math
1700
x8752
1528A
Parsa's Humongous Tree
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
trees
1600
x14962
1527C
Sequence Pair Weight
hashing
,
implementation
,
math
1600
x13641
1527B2
Palindrome Game (hard version)
constructive algorithms
,
games
1900
x7974
1526C2
Potions (Hard Version)
data structures
,
greedy
1600
x23077
1526C1
Potions (Easy Version)
brute force
,
data structures
,
dp
,
greedy
1500
x22803
1526B
I Hate 1111
dp
,
math
,
number theory
1400
x30997
1525D
Armchairs
dp
,
flows
,
graph matchings
,
greedy
1800
x9859
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x8804
1521B
Nastia and a Good Array
constructive algorithms
,
math
,
number theory
1300
x21468
1520F1
Guess the K-th Zero (Easy version)
binary search
,
interactive
1600
x11892
1520E
Arranging The Sheep
greedy
,
math
1400
x21716
1519D
Maximum Sum of Products
brute force
,
dp
,
implementation
,
math
,
two pointers
1600
x15396
1519C
Berland Regional
brute force
,
data structures
,
greedy
,
number theory
,
sortings
1400
x17110
1517D
Explorer Space
dp
,
graphs
,
shortest paths
1800
x7771
1517C
Fillomino 2
constructive algorithms
,
dfs and similar
,
greedy
,
implementation
1400
x13408
1516C
Baby Ehab Partitions Again
bitmasks
,
constructive algorithms
,
dp
,
math
1700
x12020
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x19655
1515D
Phoenix and Socks
greedy
,
sortings
,
two pointers
1500
x11445
1515C
Phoenix and Towers
constructive algorithms
,
data structures
,
greedy
1400
x17250
1514C
Product 1 Modulo N
greedy
,
number theory
1600
x15341
1513C
Add One
dp
,
matrices
1600
x14154
1513B
AND Sequences
bitmasks
,
combinatorics
,
constructive algorithms
,
math
1400
x14923
1512G
Short Task
brute force
,
dp
,
math
,
number theory
1700
x8304
1512F
Education
brute force
,
dp
,
greedy
,
implementation
1900
x6276
1512E
Permutation by Sum
brute force
,
greedy
,
math
1600
x10558
1511D
Min Cost String
brute force
,
constructive algorithms
,
graphs
,
greedy
,
strings
1600
x11574
1509C
The Sports Festival
dp
,
greedy
1800
x12728
1508B
Almost Sorted
binary search
,
combinatorics
,
constructive algorithms
,
implementation
1800
x4023
1508A
Binary Literature
constructive algorithms
,
greedy
,
implementation
,
strings
,
two pointers
1900
x6265
1506E
Restoring the Permutation
constructive algorithms
,
implementation
1500
x13169
1506D
Epic Transformation
constructive algorithms
,
data structures
,
greedy
1400
x22155
1505E
Cakewalk
*special problem
,
greedy
,
implementation
,
shortest paths
1800
x1807
1505D
Xenolith? Hippodrome?
*special problem
,
number theory
1800
x800
1505C
Fibonacci Words
*special problem
,
implementation
1400
x6459
1505B
DMCA
*special problem
,
implementation
,
number theory
1600
x6191
1503B
3-Coloring
constructive algorithms
,
games
,
interactive
1700
x7084
←
1
2
...
6
7
8
9
10
...
31
32
→
User lists
Name