Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
19:48:40
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
data structures
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
1286B
Numbers on Tree
constructive algorithms
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
trees
1800
x4746
1285E
Delete a Segment
brute force
,
constructive algorithms
,
data structures
,
dp
,
graphs
,
sortings
,
trees
,
two pointers
2300
x1851
1284F
New Year and Social Network
data structures
,
graph matchings
,
graphs
,
math
,
trees
3200
x326
1284D
New Year and Conference
binary search
,
data structures
,
hashing
,
sortings
2100
x3174
1284B
New Year and Ascent Sequence
binary search
,
combinatorics
,
data structures
,
dp
,
implementation
,
sortings
1400
x10860
1283C
Friends and Gifts
constructive algorithms
,
data structures
,
math
1500
x13194
1282E
The Cake Is a Lie
constructive algorithms
,
data structures
,
dfs and similar
,
graphs
2400
x1150
1279C
Stack of Presents
data structures
,
implementation
1400
x11764
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x4046
1278C
Berry Jam
data structures
,
dp
,
greedy
,
implementation
1700
x8091
1277D
Let's Play the Words?
data structures
,
hashing
,
implementation
,
math
1900
x3129
1276C
Beautiful Rectangle
brute force
,
combinatorics
,
constructive algorithms
,
data structures
,
greedy
,
math
2300
x1674
1271D
Portals
data structures
,
dp
,
greedy
,
implementation
,
sortings
2100
x3099
1270H
Number of Components
data structures
3300
x785
1268C
K Integers
binary search
,
data structures
2300
x1756
1266E
Spaceship Solitaire
data structures
,
greedy
,
implementation
2100
x2253
1266D
Decreasing Debts
constructive algorithms
,
data structures
,
graphs
,
greedy
,
implementation
,
math
,
two pointers
2000
x3649
1265E
Beautiful Mirrors
data structures
,
dp
,
math
,
probabilities
2100
x3745
1265B
Beautiful Numbers
data structures
,
implementation
,
math
,
two pointers
1300
x12737
1264C
Beautiful Mirrors with queries
data structures
,
probabilities
2400
x1170
1263F
Economic Difficulties
data structures
,
dfs and similar
,
dp
,
flows
,
graphs
,
trees
2400
x883
1263E
Editor
data structures
,
implementation
2100
x2805
1260F
Colored Tree
data structures
,
trees
2700
x543
1257E
The Contest
data structures
,
dp
,
greedy
2000
x4262
1257D
Yet Another Monster Killing Problem
binary search
,
data structures
,
dp
,
greedy
,
sortings
,
two pointers
1700
x7611
1254D
Tree Queries
data structures
,
probabilities
,
trees
2700
x1258
1253E
Antenna Coverage
data structures
,
dp
,
greedy
,
sortings
2200
x2853
1252K
Addition Robot
data structures
,
math
,
matrices
2100
x1868
1252G
Performance Review
data structures
2100
x1436
1252D
Find String in a Grid
data structures
,
dp
,
strings
,
trees
3000
x344
1252C
Even Path
data structures
,
implementation
1600
x3744
1251E2
Voting (Hard Version)
binary search
,
data structures
,
greedy
2400
x2682
1251E1
Voting (Easy Version)
data structures
,
dp
,
greedy
2300
x2362
1250C
Trip to Saint Petersburg
data structures
2100
x1324
1249D2
Too Many Segments (hard version)
data structures
,
greedy
,
sortings
1800
x5307
1239C
Queue in the Train
data structures
,
greedy
,
implementation
2300
x1555
1238G
Adilbek and the Watering System
data structures
,
greedy
,
sortings
2700
x410
1237G
Balanced Distribution
data structures
,
dp
,
greedy
3500
x123
1237D
Balanced Playlist
binary search
,
data structures
,
implementation
2000
x4247
1237B
Balanced Tunnel
data structures
,
sortings
,
two pointers
1300
x16285
1236E
Alice and the Unfair Game
binary search
,
data structures
,
dp
,
dsu
2500
x668
1236D
Alice and the Doll
brute force
,
data structures
,
greedy
,
implementation
2300
x1675
1234D
Distinct Characters Queries
data structures
1600
x15322
1234B2
Social Network (hard version)
data structures
,
implementation
1300
x16969
1227D2
Optimal Subsequences (Hard Version)
data structures
,
greedy
1800
x4409
1227D1
Optimal Subsequences (Easy Version)
data structures
,
greedy
1600
x6450
1223F
Stack Exterminable Arrays
data structures
,
divide and conquer
,
dp
,
hashing
2600
x2073
1221F
Choose a Square
binary search
,
data structures
,
sortings
2400
x1061
1220F
Gardener Alex
binary search
,
data structures
2700
x719
1218F
Workout plan
data structures
,
greedy
1500
x2968
1218B
Guarding warehouses
data structures
,
geometry
3000
x73
1217F
Forced Online Queries Problem
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2600
x595
1217E
Sum Queries?
data structures
,
greedy
,
implementation
,
math
2300
x1895
1216F
Wi-Fi
data structures
,
dp
,
greedy
2100
x2700
1214G
Feeling Good
bitmasks
,
data structures
3200
x311
1214C
Bad Sequence
data structures
,
greedy
1200
x13323
1213F
Unstable String Sort
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
2100
x2610
1213B
Bad Prices
data structures
,
implementation
1100
x26886
1209H
Moving Walkways
data structures
,
greedy
,
math
3300
x142
1209G2
Into Blocks (hard version)
data structures
3200
x449
1209G1
Into Blocks (easy version)
data structures
,
dsu
,
greedy
,
implementation
,
two pointers
2000
x3258
1209F
Koala and Notebook
data structures
,
dfs and similar
,
graphs
,
shortest paths
,
strings
,
trees
2600
x1181
1208H
Red Blue Tree
data structures
,
implementation
,
trees
3500
x153
1208E
Let Them Slide
data structures
,
implementation
2200
x2045
1208D
Restore Permutation
binary search
,
data structures
,
greedy
,
implementation
1900
x4942
1207G
Indie Album
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
2700
x1038
1207F
Remainder Problem
brute force
,
data structures
,
implementation
2100
x5356
1204D2
Kirk and a Binary String (hard version)
data structures
,
greedy
,
math
,
strings
2100
x3256
1202C
You Are Given a WASD-string...
brute force
,
data structures
,
dp
,
greedy
,
implementation
,
math
,
strings
2100
x2579
1200F
Graph Traveler
brute force
,
data structures
,
dfs and similar
,
dp
,
graphs
,
implementation
,
math
,
number theory
2300
x1082
1200D
White Lines
brute force
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4144
1200A
Hotelier
brute force
,
data structures
,
implementation
800
x20478
1198B
Welfare State
binary search
,
brute force
,
data structures
,
sortings
1600
x9498
1197E
Culture Code
binary search
,
combinatorics
,
data structures
,
dp
,
shortest paths
,
sortings
2300
x1689
1196D2
RGB Substring (hard version)
data structures
,
dp
,
implementation
,
two pointers
1600
x9755
1195F
Geometers Anonymous Club
data structures
,
geometry
,
math
,
sortings
2500
x896
1195E
OpenStreetMap
data structures
,
two pointers
2100
x3183
1194E
Count The Rectangles
bitmasks
,
brute force
,
data structures
,
geometry
,
sortings
2200
x1936
1193B
Magic Tree
*special problem
,
data structures
,
dp
,
trees
x440
1192B
Dynamic Diameter
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
trees
x1223
1190D
Tokitsukaze and Strange Rectangle
data structures
,
divide and conquer
,
sortings
,
two pointers
2000
x2294
1189C
Candies!
data structures
,
dp
,
implementation
,
math
1400
x10623
1187D
Subarray Sorting
data structures
,
sortings
2400
x2650
1185C2
Exam in BerSU (hard version)
brute force
,
data structures
,
greedy
,
math
1700
x7476
1184E3
Daleks' Invasion (hard)
data structures
,
dsu
,
graphs
,
trees
2400
x567
1184C2
Heidi and the Turing Test (Medium)
data structures
2200
x633
1182F
Maximum Sine
binary search
,
data structures
,
number theory
2700
x345
1182C
Beautiful Lyrics
data structures
,
greedy
,
strings
1700
x4427
1181D
Irrigation
binary search
,
data structures
,
implementation
,
sortings
,
trees
,
two pointers
2200
x2416
1179D
Fedor Runs for President
data structures
,
dp
,
trees
2700
x842
1179C
Serge and Dining Room
binary search
,
data structures
,
graph matchings
,
greedy
,
implementation
,
math
,
trees
2200
x2082
1179A
Valeriy and Deque
data structures
,
implementation
1500
x10643
1178G
The Awesomest Vertex
data structures
,
dfs and similar
3000
x470
1175G
Yet Another Partiton Problem
data structures
,
divide and conquer
,
dp
,
geometry
,
two pointers
3000
x492
1175F
The Number of Subpermutations
brute force
,
data structures
,
divide and conquer
,
hashing
,
math
2500
x1931
1175E
Minimal Segment Cover
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
implementation
,
trees
2200
x3654
1175B
Catch Overflow!
data structures
,
expression parsing
,
implementation
1600
x10752
1172F
Nauuo and Bug
data structures
3300
x432
1172E
Nauuo and ODT
data structures
3300
x314
1170D
Decoding of Integer Sequences
*special problem
,
data structures
,
implementation
x436
←
1
2
...
8
9
10
11
12
...
17
18
→
User lists
Name