Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 986 (Div. 2)
03:47:52
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
1249D2
Too Many Segments (hard version)
data structures
,
greedy
,
sortings
1800
x5304
1249D1
Too Many Segments (easy version)
greedy
1800
x5137
1249C2
Good Numbers (hard version)
binary search
,
greedy
,
math
,
meet-in-the-middle
1500
x12679
1249C1
Good Numbers (easy version)
brute force
,
greedy
,
implementation
1300
x15600
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16913
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x20766
1249A
Yet Another Dividing into Teams
math
800
x22418
1248D1
The World Is Just a Programming Task (Easy Version)
brute force
,
dp
,
greedy
,
implementation
2000
x2401
1248B
Grow The Tree
greedy
,
math
,
sortings
900
x16930
1248A
Integer Points
geometry
,
math
1000
x14158
1246F
Cursor Distance
3500
x175
1245F
Daniel and Spring Cleaning
bitmasks
,
brute force
,
combinatorics
,
dp
2300
x2008
1245E
Hyakugoku and Ladders
dp
,
probabilities
,
shortest paths
2300
x1272
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x7665
1245C
Constanze's Machine
dp
1400
x17679
1245B
Restricted RPS
constructive algorithms
,
dp
,
greedy
1200
x13875
1245A
Good ol' Numbers Coloring
math
,
number theory
1000
x14263
1244G
Running in Pairs
constructive algorithms
,
greedy
,
math
2400
x1362
1244F
Chips
constructive algorithms
,
implementation
2300
x1544
1244E
Minimizing Difference
binary search
,
constructive algorithms
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x5233
1244D
Paint the Tree
brute force
,
constructive algorithms
,
dp
,
graphs
,
implementation
,
trees
1800
x7612
1244C
The Football Season
brute force
,
math
,
number theory
2000
x7655
1244B
Rooms and Staircases
brute force
,
implementation
1000
x15901
1244A
Pens and Pencils
math
800
x19291
1243B2
Character Swap (Hard Version)
strings
1600
x7109
1243B1
Character Swap (Easy Version)
strings
1000
x14911
1243A
Maximum Square
implementation
800
x15714
1242E
Planar Perimeter
constructive algorithms
,
graphs
3200
x130
1242D
Number Discovery
math
3400
x199
1242C
Sum Balance
bitmasks
,
dfs and similar
,
dp
,
graphs
2400
x1679
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x7575
1242A
Tile Painting
constructive algorithms
,
math
,
number theory
1500
x12663
1240F
Football
graphs
3100
x254
1239F
Swiper, no swiping!
graphs
,
implementation
3400
x280
1239E
Turtle
dp
,
implementation
3100
x958
1239D
Catowice City
2-sat
,
dfs and similar
,
graph matchings
,
graphs
2400
x2057
1239C
Queue in the Train
data structures
,
greedy
,
implementation
2300
x1376
1239B
The World Is Just a Programming Task (Hard Version)
implementation
2500
x1052
1239A
Ivan the Fool and the Probability Theory
combinatorics
,
dp
,
math
1700
x7377
1238G
Adilbek and the Watering System
data structures
,
greedy
,
sortings
2700
x410
1238F
The Maximum Subtree
dfs and similar
,
dp
,
graphs
,
trees
2200
x1887
1238E
Keyboard Purchase
bitmasks
,
dp
2200
x3062
1238D
AB-string
binary search
,
combinatorics
,
dp
,
strings
1900
x6063
1238C
Standard Free2play
dp
,
greedy
,
math
1600
x7444
1238B
Kill `Em All
greedy
,
sortings
1300
x13684
1238A
Prime Subtraction
math
,
number theory
900
x24518
1237H
Balanced Reversals
constructive algorithms
3300
x373
1237G
Balanced Distribution
data structures
,
dp
,
greedy
3500
x123
1237F
Balanced Domino Placements
combinatorics
,
dp
2600
x901
1237E
Balanced Binary Search Trees
dp
,
math
2400
x1331
1237D
Balanced Playlist
binary search
,
data structures
,
implementation
2000
x4241
1237C2
Balanced Removals (Harder)
binary search
,
constructive algorithms
,
divide and conquer
,
greedy
,
implementation
,
sortings
1900
x4350
1237C1
Balanced Removals (Easier)
constructive algorithms
,
geometry
,
greedy
1700
x6107
1237B
Balanced Tunnel
data structures
,
sortings
,
two pointers
1300
x16255
1237A
Balanced Rating Changes
implementation
,
math
1000
x20019
1236F
Alice and the Cactus
dfs and similar
,
graphs
,
math
,
probabilities
3000
x177
1236E
Alice and the Unfair Game
binary search
,
data structures
,
dp
,
dsu
2500
x665
1236D
Alice and the Doll
brute force
,
data structures
,
greedy
,
implementation
2300
x1673
1236C
Labs
constructive algorithms
,
greedy
,
implementation
1300
x10172
1236B
Alice and the List of Presents
combinatorics
,
math
1500
x11126
1236A
Stones
brute force
,
greedy
,
math
800
x16471
1234F
Yet Another Substring Reverse
bitmasks
,
dp
2200
x2611
1234E
Special Permutations
math
2000
x2794
1234D
Distinct Characters Queries
data structures
1600
x15294
1234C
Pipes
dp
,
implementation
1500
x12660
1234B2
Social Network (hard version)
data structures
,
implementation
1300
x16953
1234B1
Social Network (easy version)
implementation
1000
x18790
1234A
Equalize Prices Again
math
800
x27894
1231E
Middle-Out
constructive algorithms
,
greedy
,
strings
2200
x840
1231C
Increasing Matrix
greedy
1100
x3867
1230B
Ania and Minimizing
greedy
,
implementation
1000
x18767
1230A
Dawid and Bags of Candies
brute force
,
implementation
800
x21671
1228F
One Node is Gone
constructive algorithms
,
implementation
,
trees
2500
x438
1228E
Another Filling the Grid
combinatorics
,
dp
,
math
2300
x2766
1228D
Complete Tripartite
brute force
,
constructive algorithms
,
graphs
,
hashing
,
implementation
1900
x5226
1228C
Primes and Multiplication
math
,
number theory
1700
x9055
1228B
Filling the Grid
implementation
,
math
1400
x11554
1228A
Distinct Digits
brute force
,
implementation
800
x21836
1227G
Not Same
constructive algorithms
2600
x1038
1227F2
Wrong Answer on test 233 (Hard Version)
combinatorics
,
math
2400
x1520
1227F1
Wrong Answer on test 233 (Easy Version)
dp
2200
x1828
1227E
Arson In Berland Forest
binary search
,
graphs
,
graphs
,
shortest paths
2200
x1492
1227D2
Optimal Subsequences (Hard Version)
data structures
,
greedy
1800
x4405
1227D1
Optimal Subsequences (Easy Version)
data structures
,
greedy
1600
x6447
1227C
Messy
constructive algorithms
1700
x5532
1227B
Box
constructive algorithms
1200
x9692
1227A
Math Problem
math
1100
x9836
1225G
To Make 1
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
number theory
3100
x559
1225F
Tree Factory
constructive algorithms
,
greedy
,
trees
2500
x886
1225E
Rock Is Push
binary search
,
dp
2200
x1897
1225D
Power Products
hashing
,
math
,
number theory
1800
x8116
1225C
p-binary
bitmasks
,
brute force
,
math
1600
x9020
1225B2
TV Subscriptions (Hard Version)
implementation
,
two pointers
1300
x10748
1225B1
TV Subscriptions (Easy Version)
implementation
1000
x11935
1225A
Forgetting Things
math
900
x15854
1223G
Wooden Raft
binary search
,
math
,
number theory
3200
x250
1223F
Stack Exterminable Arrays
data structures
,
divide and conquer
,
dp
,
hashing
2600
x2070
1223E
Paint the Tree
dp
,
sortings
,
trees
2100
x2620
1223D
Sequence Sorting
dp
,
greedy
,
two pointers
2000
x4071
1223C
Save the Nature
binary search
,
greedy
1600
x8368
←
1
2
...
43
44
45
46
47
...
99
100
→
User lists
Name