Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
13:50:28
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
1933B
Turtle Math: Fast Three Task
implementation
,
math
,
number theory
800
x33024
1933A
Turtle Puzzle: Rearrange and Negate
greedy
,
math
,
sortings
800
x38307
1932G
Moving Platforms
graphs
,
math
,
number theory
,
shortest paths
2300
x1093
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x4168
1932E
Final Countdown
implementation
,
math
,
number theory
1600
x8287
1932D
Card Game
greedy
,
implementation
1400
x11541
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x15882
1932B
Chaya Calendar
number theory
1100
x20910
1932A
Thorns and Coins
dp
,
greedy
,
implementation
800
x29788
1931G
One-Dimensional Puzzle
combinatorics
,
math
,
number theory
2000
x2871
1931F
Chat Screenshots
combinatorics
,
dfs and similar
,
graphs
1700
x8143
1931E
Anna and the Valentine's Day Gift
games
,
greedy
,
math
,
sortings
1400
x16125
1931D
Divisible Pairs
combinatorics
,
math
,
number theory
1300
x19218
1931C
Make Equal Again
brute force
,
greedy
,
math
1000
x29336
1931B
Make Equal
greedy
800
x32344
1931A
Recovering a Small String
brute force
,
strings
800
x36359
1930I
Counting Is Fun
combinatorics
3500
x74
1930H
Interactive Mex Tree
constructive algorithms
,
dfs and similar
,
interactive
,
trees
3300
x180
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x341
1930F
Maximize the Difference
bitmasks
,
brute force
,
dfs and similar
2700
x718
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x1149
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2649
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x4154
1930C
Lexicographically Largest
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
1700
x7158
1930B
Permutation Printing
brute force
,
constructive algorithms
,
math
1000
x15400
1930A
Maximise The Score
greedy
,
sortings
800
x18676
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1813
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1714
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4838
1929C
Sasha and the Casino
binary search
,
brute force
,
constructive algorithms
,
games
,
greedy
,
math
1400
x15053
1929B
Sasha and the Drawing
constructive algorithms
,
greedy
,
math
800
x25398
1929A
Sasha and the Beautiful Array
constructive algorithms
,
greedy
,
math
,
sortings
800
x31695
1928F
Digital Patterns
combinatorics
,
data structures
,
implementation
,
math
2900
x244
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1738
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x4301
1928C
Physical Education Lesson
brute force
,
math
,
number theory
1600
x8656
1928B
Equalize
binary search
,
greedy
,
sortings
,
two pointers
1200
x17677
1928A
Rectangle Cutting
geometry
,
math
800
x22752
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1702
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x4442
1927E
Klever Permutation
constructive algorithms
,
math
,
two pointers
1400
x14169
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x21829
1927C
Choose the Different Ones!
brute force
,
greedy
,
math
1000
x28169
1927B
Following the String
constructive algorithms
,
greedy
,
strings
900
x33452
1927A
Make it White
greedy
,
strings
800
x43835
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x3639
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1727
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x12061
1926D
Vlad and Division
bitmasks
,
greedy
1300
x15681
1926C
Vlad and a Sum of Sum of Digits
dp
,
implementation
1200
x26944
1926B
Vlad and Shapes
geometry
,
implementation
800
x32658
1926A
Vlad and the Best of Five
implementation
800
x48839
1925D
Good Trip
combinatorics
,
dp
,
math
,
probabilities
1900
x3693
1925B
A Balanced Problemset?
brute force
,
greedy
,
math
,
number theory
1200
x20253
1925A
We Got Everything Covered!
constructive algorithms
,
greedy
,
strings
800
x28976
1924F
Anti-Proxy Attendance
constructive algorithms
,
dp
,
interactive
,
ternary search
3500
x155
1924E
Paper Cutting Again
combinatorics
,
probabilities
3100
x441
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x1015
1924C
Fractal Origami
geometry
,
math
,
matrices
2400
x1178
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2602
1924A
Did We Get Everything Covered?
constructive algorithms
,
dp
,
greedy
,
shortest paths
,
strings
1500
x14085
1923F
Shrink-Reverse
binary search
,
brute force
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
2800
x378
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3926
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x6881
1923C
Find B
constructive algorithms
,
greedy
1400
x15273
1923B
Monsters Attack!
dp
,
greedy
,
implementation
1100
x17804
1923A
Moving Chips
greedy
,
implementation
800
x24786
1922F
Replace on Segment
dp
,
graph matchings
2500
x1423
1922E
Increasing Subsequences
bitmasks
,
constructive algorithms
,
divide and conquer
,
greedy
,
math
1800
x7799
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5752
1922C
Closest Cities
greedy
,
implementation
,
math
1300
x18687
1922B
Forming Triangles
combinatorics
,
constructive algorithms
,
math
,
sortings
1200
x20799
1922A
Tricky Template
constructive algorithms
,
implementation
,
strings
800
x27081
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1257
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3923
1921E
Eat the Chip
brute force
,
games
,
greedy
,
math
1600
x9888
1921D
Very Different Array
data structures
,
greedy
,
sortings
,
two pointers
1100
x21784
1921C
Sending Messages
greedy
,
math
900
x29539
1921B
Arranging Cats
greedy
,
implementation
800
x33936
1921A
Square
greedy
,
math
800
x43676
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x536
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x1007
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2744
1920D
Array Repetition
binary search
,
brute force
,
dsu
,
implementation
,
math
1900
x5657
1920C
Partitioning the Array
brute force
,
math
,
number theory
1600
x13801
1920B
Summation Game
games
,
greedy
,
math
,
sortings
1100
x21071
1920A
Satisfying Constraints
brute force
,
greedy
,
math
800
x27958
1919H
Tree Diameter
interactive
,
trees
2000
x144
1919G
Tree LGM
constructive algorithms
,
divide and conquer
,
games
,
trees
3500
x183
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x867
1919F1
Wine Factory (Easy Version)
data structures
,
greedy
2300
x2206
1919E
Counting Prefixes
combinatorics
,
constructive algorithms
,
dp
,
implementation
,
math
2600
x859
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3915
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x19317
1919B
Plus-Minus Split
greedy
800
x29822
1919A
Wallet Exchange
games
,
math
800
x33500
1918G
Permutation of Given
constructive algorithms
,
math
2700
x473
1918F
Caterpillar on a Tree
dfs and similar
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
2500
x881
1918E
ace5 and Task Order
constructive algorithms
,
divide and conquer
,
implementation
,
interactive
,
probabilities
,
sortings
2200
x1748
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4845
←
1
2
...
5
6
7
8
9
...
96
97
→
User lists
Name