Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
13:52:35
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
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
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
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
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
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
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
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
1925D
Good Trip
combinatorics
,
dp
,
math
,
probabilities
1900
x3693
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
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
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
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
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
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
1918C
XOR-distance
bitmasks
,
greedy
,
implementation
,
math
1400
x14175
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x977
1917E
Construct Matrix
constructive algorithms
,
math
2500
x1396
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1807
1917C
Watering an Array
brute force
,
greedy
,
implementation
,
math
1600
x10583
1916H2
Matrix Rank (Hard Version)
combinatorics
,
dp
,
math
,
matrices
,
string suffix structures
2700
x539
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x616
1916G
Optimizations From Chelsu
divide and conquer
,
dp
,
number theory
,
trees
3500
x149
1916F
Group Division
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
2900
x499
1916E
Happy Life in University
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2274
1916D
Mathematical Problem
brute force
,
constructive algorithms
,
geometry
,
math
1700
x8588
1915G
Bicycles
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
1800
x6518
1915F
Greetings
data structures
,
divide and conquer
,
sortings
1500
x14025
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1407
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1921
1914F
Programming Competition
dfs and similar
,
dp
,
graph matchings
,
greedy
,
trees
1900
x4175
1914E2
Game with Marbles (Hard Version)
games
,
greedy
,
sortings
1400
x12561
1914E1
Game with Marbles (Easy Version)
brute force
,
games
,
greedy
,
sortings
1400
x12357
1913F
Palindromic Problem
binary search
,
data structures
,
hashing
,
string suffix structures
,
strings
2800
x329
1913E
Matrix Problem
flows
,
graphs
2400
x1046
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x3219
1912K
Kim's Quest
bitmasks
,
combinatorics
,
dp
1800
x2541
1912J
Joy of Pokémon Observation
2300
x590
1912I
Innovative Washing Machine
geometry
,
math
,
two pointers
3300
x57
1912H
Hypercatapult Commute
graphs
2400
x453
1912G
Great City Saint Petersburg
data structures
2400
x475
1912F
Fugitive Frenzy
math
,
probabilities
3100
x115
1912E
Evaluate It and Back Again
constructive algorithms
,
implementation
,
math
2200
x940
1912D
Divisibility Test
math
1900
x1515
1912C
Cactus Transformation
constructive algorithms
3300
x56
1912B
Blueprint for Seating
combinatorics
,
divide and conquer
,
math
2100
x1078
1912A
Accumulator Apex
data structures
,
implementation
,
sortings
1900
x2140
1910J
Two Colors
*special problem
2900
x48
1910I
Inverse Problem
*special problem
,
combinatorics
,
dp
2700
x50
1910H
Sum of Digits of Sums
*special problem
,
binary search
,
data structures
2400
x90
1910G
Pool Records
*special problem
,
greedy
2700
x59
1910F
Build Railway Stations
*special problem
,
greedy
,
trees
2000
x178
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x200
1910D
Remove and Add
*special problem
,
greedy
1800
x358
←
1
2
3
4
5
6
7
...
69
70
→
User lists
Name