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:27:46
Register now »
→ 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
1748A
The Ultimate Square
math
800
x24159
1747E
List Generation
combinatorics
,
dp
,
math
2900
x525
1747D
Yet Another Problem
binary search
,
bitmasks
,
constructive algorithms
,
data structures
1900
x4717
1747C
Swap Game
games
1200
x21372
1747B
BAN BAN
constructive algorithms
900
x23120
1747A
Two Groups
constructive algorithms
,
greedy
800
x25023
1746G
Olympiad Training
binary search
,
data structures
,
dp
,
flows
,
geometry
,
implementation
,
sortings
3500
x97
1746F
Kazaee
data structures
,
hashing
,
probabilities
2800
x1855
1746E2
Joking (Hard Version)
dp
,
interactive
3200
x398
1746E1
Joking (Easy Version)
binary search
,
constructive algorithms
,
interactive
,
ternary search
2500
x1451
1746D
Paths on the Tree
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1900
x4653
1746C
Permutation Operations
constructive algorithms
,
greedy
,
implementation
,
math
1300
x12890
1746B
Rebellion
constructive algorithms
,
greedy
,
two pointers
800
x17256
1746A
Maxmina
constructive algorithms
,
greedy
800
x19883
1744F
MEX vs MED
math
,
two pointers
2000
x3141
1744E2
Divisible Numbers (hard version)
brute force
,
math
,
number theory
1900
x5664
1744E1
Divisible Numbers (easy version)
brute force
,
math
,
number theory
1500
x11000
1744D
Divisibility by 2^n
greedy
,
math
,
sortings
1200
x21655
1744C
Traffic Light
binary search
,
implementation
,
two pointers
1000
x27993
1744B
Even-Odd Increments
implementation
,
math
800
x23599
1744A
Number Replacement
greedy
,
implementation
800
x27256
1743G
Antifibonacci Cut
bitmasks
,
combinatorics
,
constructive algorithms
,
data structures
,
dp
,
hashing
,
math
3000
x259
1743F
Intersection and Union
data structures
,
dp
,
matrices
,
probabilities
2300
x1534
1743E
FTL
binary search
,
dp
2400
x1642
1743D
Problem with Random Tests
brute force
,
dp
,
greedy
,
probabilities
1700
x7655
1743C
Save the Magazines
constructive algorithms
,
dp
,
greedy
1100
x19287
1743B
Permutation Value
constructive algorithms
,
greedy
800
x22287
1743A
Password
brute force
,
combinatorics
,
implementation
,
math
800
x26897
1742G
Orray
bitmasks
,
brute force
,
greedy
,
math
,
sortings
1500
x10895
1742F
Smaller
constructive algorithms
,
greedy
,
strings
1500
x11860
1742E
Scuza
binary search
,
greedy
,
math
1200
x25297
1742D
Coprime
brute force
,
greedy
,
number theory
1100
x24106
1742C
Stripes
implementation
900
x33376
1742B
Increasing
greedy
,
implementation
,
sortings
800
x48492
1742A
Sum
implementation
800
x74695
1741G
Kirill and Company
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
,
graphs
,
shortest paths
2200
x1520
1741F
Multi-Colored Segments
binary search
,
data structures
,
math
,
sortings
2000
x2465
1741E
Sending a Sequence Over the Network
dp
1600
x12530
1741D
Masha and a Beautiful Tree
dfs and similar
,
divide and conquer
,
graphs
,
sortings
,
trees
1300
x15376
1741C
Minimize the Thickness
brute force
,
greedy
,
math
,
two pointers
1100
x17855
1741B
Funny Permutation
constructive algorithms
,
math
800
x25529
1741A
Compare T-Shirt Sizes
implementation
,
implementation
,
strings
800
x31045
1740I
Arranging Crystal Balls
data structures
,
divide and conquer
,
divide and conquer
,
dp
,
geometry
,
graphs
,
number theory
3500
x115
1740H
MEX Tree Manipulation
data structures
,
trees
3300
x236
1740G
Dangerous Laser Power
constructive algorithms
,
dsu
,
sortings
3100
x187
1740F
Conditional Mix
combinatorics
,
dp
,
math
2600
x819
1740E
Hanging Hearts
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
greedy
,
trees
1800
x4376
1740D
Knowledge Cards
constructive algorithms
,
data structures
1500
x8163
1740C
Bricks and Bags
constructive algorithms
,
games
,
greedy
,
sortings
1400
x11113
1740B
Jumbo Extra Cheese 2
geometry
,
greedy
,
sortings
800
x13780
1740A
Factorise N+M
constructive algorithms
,
number theory
800
x20400
1739F
Keyboard Design
bitmasks
,
data structures
,
dp
,
string suffix structures
,
strings
2600
x544
1739E
Cleaning Robot
bitmasks
,
dp
2400
x1239
1739D
Reset K Edges
binary search
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x5225
1739C
Card Game
combinatorics
,
constructive algorithms
,
dp
,
games
1500
x9160
1739B
Array Recovery
constructive algorithms
,
greedy
,
math
1100
x22554
1739A
Immobile Knight
implementation
800
x22858
1738H
Palindrome Addicts
data structures
,
strings
3300
x235
1738G
Anti-Increasing Addicts
constructive algorithms
,
dp
,
greedy
,
math
2900
x438
1738F
Connectivity Addicts
constructive algorithms
,
dsu
,
graphs
,
greedy
,
interactive
,
shortest paths
,
trees
2400
x1238
1738E
Balance Addicts
combinatorics
,
dp
,
math
,
two pointers
2300
x1567
1738D
Permutation Addicts
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
trees
1900
x3457
1738C
Even Number Addicts
dp
,
games
,
greedy
,
math
1500
x11287
1738B
Prefix Sum Addicts
constructive algorithms
,
greedy
,
math
,
sortings
1200
x15812
1738A
Glory Addicts
greedy
,
implementation
,
sortings
800
x13559
1737G
Ela Takes Dancing Class
binary search
,
data structures
3500
x117
1737F
Ela and Prime GCD
constructive algorithms
,
math
,
number theory
3300
x125
1737E
Ela Goes Hiking
combinatorics
,
dp
,
math
,
probabilities
2500
x937
1737D
Ela and the Wiring Wizard
brute force
,
dp
,
graphs
,
greedy
,
implementation
,
shortest paths
2200
x1909
1737C
Ela and Crickets
constructive algorithms
,
games
,
implementation
,
math
1500
x5797
1737B
Ela's Fitness and the Luxury Number
binary search
,
implementation
,
math
1300
x9450
1737A
Ela Sorting Books
greedy
,
implementation
,
strings
900
x10173
1736E
Swap and Take
dp
,
greedy
2600
x732
1736D
Equal Binary Subsequences
constructive algorithms
,
geometry
,
greedy
,
implementation
,
strings
2200
x2521
1736C2
Good Subarrays (Hard Version)
binary search
,
data structures
,
dp
,
two pointers
2400
x1341
1736C1
Good Subarrays (Easy Version)
binary search
,
data structures
,
schedules
,
two pointers
1300
x15183
1736B
Playing with GCD
math
,
number theory
1200
x18176
1736A
Make A Equal to B
brute force
,
greedy
,
sortings
800
x22912
1735F
Pebbles and Beads
data structures
,
geometry
2900
x232
1735E
House Planning
constructive algorithms
,
data structures
,
graph matchings
,
greedy
2400
x1072
1735D
Meta-set
brute force
,
combinatorics
,
data structures
,
hashing
,
math
1700
x5551
1735C
Phase Shift
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
1400
x9968
1735B
Tea with Tangerines
greedy
,
math
900
x18295
1735A
Working Week
constructive algorithms
,
greedy
,
math
800
x20338
1734F
Zeros and Ones
bitmasks
,
divide and conquer
,
dp
,
math
2500
x819
1734E
Rectangular Congruence
constructive algorithms
,
number theory
2100
x2949
1734D
Slime Escape
data structures
,
dp
,
greedy
,
two pointers
1800
x6359
1734C
Removing Smallest Multiples
greedy
,
math
1200
x19010
1734B
Bright, Nice, Brilliant
constructive algorithms
800
x15860
1734A
Select Three Sticks
brute force
,
greedy
,
sortings
800
x21280
1733E
Conveyor
constructive algorithms
,
dp
,
math
2700
x1250
1733D2
Zero-One (Hard Version)
dp
,
greedy
2000
x4253
1733D1
Zero-One (Easy Version)
constructive algorithms
,
greedy
,
math
1400
x13594
1733C
Parity Shuffle Sorting
constructive algorithms
,
sortings
1300
x15777
1733B
Rule of League
constructive algorithms
,
math
900
x19836
1733A
Consecutive Sum
greedy
,
sortings
800
x21033
1732E
Location
data structures
,
dp
,
math
,
number theory
2800
x462
1732D2
Balance (Hard version)
brute force
,
data structures
,
number theory
2400
x1412
1732D1
Balance (Easy version)
brute force
,
data structures
,
implementation
,
number theory
1500
x8755
1732C2
Sheikh (Hard Version)
binary search
,
bitmasks
,
brute force
,
greedy
,
implementation
,
two pointers
2100
x2589
←
1
2
...
16
17
18
19
20
...
96
97
→
User lists
Name