Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
10:35:33
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
1918C
XOR-distance
bitmasks
,
greedy
,
implementation
,
math
1400
x14175
1918B
Minimize Inversions
constructive algorithms
,
data structures
,
greedy
,
implementation
,
sortings
900
x23985
1918A
Brick Wall
constructive algorithms
,
greedy
,
implementation
,
math
800
x30364
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
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x22750
1917A
Least Product
constructive algorithms
,
math
800
x25614
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
1916C
Training Before the Olympiad
constructive algorithms
,
games
,
greedy
,
implementation
,
math
1200
x17973
1916B
Two Divisors
constructive algorithms
,
math
,
number theory
1000
x26102
1916A
2023
constructive algorithms
,
implementation
,
math
,
number theory
800
x26139
1915G
Bicycles
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
1800
x6518
1915F
Greetings
data structures
,
divide and conquer
,
sortings
1500
x14026
1915E
Romantic Glasses
data structures
,
greedy
,
math
1300
x22213
1915D
Unnatural Language Processing
greedy
,
implementation
,
strings
900
x30551
1915C
Can I Square?
binary search
,
implementation
800
x43343
1915B
Not Quite Latin Square
bitmasks
,
brute force
,
implementation
800
x42755
1915A
Odd One Out
bitmasks
,
implementation
800
x58306
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
1914D
Three Activities
brute force
,
dp
,
greedy
,
implementation
,
sortings
1200
x22269
1914C
Quests
greedy
,
math
1100
x24610
1914B
Preparing for the Contest
constructive algorithms
,
math
800
x30515
1914A
Problemsolving Log
implementation
,
strings
800
x31999
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
1913C
Game with Multiset
binary search
,
bitmasks
,
brute force
,
greedy
1300
x15184
1913B
Swap and Delete
strings
1000
x27633
1913A
Rating Increase
implementation
800
x24462
1912L
LOL Lovers
strings
800
x7098
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
1910C
Poisonous Swamp
*special problem
,
*special problem
,
implementation
,
implementation
1600
x637
1910B
Security Guard
*special problem
,
greedy
1600
x681
1910A
Username
*special problem
,
implementation
1100
x1790
1909I
Short Permutation Problem
combinatorics
,
dp
,
fft
,
math
1900
x119
1909H
Parallel Swaps Sort
constructive algorithms
,
data structures
3500
x80
1909G
Pumping Lemma
hashing
,
strings
3000
x416
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x950
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1842
1909E
Multiple Lamps
bitmasks
,
brute force
,
constructive algorithms
,
math
,
number theory
2400
x1400
1909D
Split Plus K
greedy
,
math
,
number theory
1900
x4482
1909C
Heavy Intervals
constructive algorithms
,
data structures
,
dsu
,
greedy
,
math
,
sortings
1400
x11310
1909B
Make Almost Equal With Mod
bitmasks
,
constructive algorithms
,
math
,
number theory
1200
x17398
1909A
Distinct Buttons
implementation
,
math
800
x17114
1907G
Lights
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
2200
x1973
1907F
Shift and Reverse
greedy
,
sortings
1800
x4945
1907E
Good Triples
brute force
,
combinatorics
,
number theory
1600
x10465
1907D
Jumping Through Segments
binary search
,
constructive algorithms
1400
x14522
1907C
Removal of Unattractive Pairs
constructive algorithms
,
greedy
,
math
,
strings
1200
x20399
1907B
YetnotherrokenKeoard
data structures
,
implementation
,
strings
1000
x25956
1907A
Rook
implementation
800
x37040
1906M
Triangle Construction
greedy
,
math
1700
x2762
1906L
Palindromic Parentheses
constructive algorithms
2500
x544
1906K
Deck-Building Game
divide and conquer
,
math
2500
x318
1906J
Count BFS Graph
combinatorics
,
dp
2100
x814
1906I
Contingency Plan 2
graph matchings
2900
x153
1906H
Twin Friends
combinatorics
,
dp
2200
x740
1906G
Grid Game 2
games
,
number theory
2900
x207
1906F
Maximize The Value
data structures
,
sortings
2100
x1163
1906E
Merge Not Sort
constructive algorithms
,
dp
1900
x1607
1906D
Spaceship Exploration
binary search
,
geometry
2800
x124
1906C
Cursed Game
interactive
3000
x191
1906B
Button Pressing
bitmasks
,
constructive algorithms
,
hashing
2600
x592
1906A
Easy As ABC
brute force
1000
x4490
1905F
Field Should Not Be Empty
brute force
,
data structures
,
divide and conquer
2600
x555
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x1008
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3910
1905C
Largest Subsequence
greedy
,
strings
1400
x12433
1905B
Begginer's Zelda
greedy
,
trees
1100
x16562
1905A
Constructive Problems
constructive algorithms
,
math
800
x23064
1904F
Beautiful Tree
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2800
x385
1904E
Tree Queries
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2500
x1027
←
1
2
...
6
7
8
9
10
...
96
97
→
User lists
Name