Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
04:09:44
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
1250D
Conference Problem
dp
3000
x176
1250C
Trip to Saint Petersburg
data structures
2100
x1324
1250B
The Feast and the Bus
brute force
,
constructive algorithms
,
greedy
,
math
1800
x2618
1250A
Berstagram
implementation
1400
x4089
1249F
Maximum Weight Subset
dp
,
trees
2200
x2415
1249E
By Elevator or Stairs?
dp
,
shortest paths
1700
x9785
1249D2
Too Many Segments (hard version)
data structures
,
greedy
,
sortings
1800
x5308
1249D1
Too Many Segments (easy version)
greedy
1800
x5139
1249C2
Good Numbers (hard version)
binary search
,
greedy
,
math
,
meet-in-the-middle
1500
x12701
1249C1
Good Numbers (easy version)
brute force
,
greedy
,
implementation
1300
x15619
1249B2
Books Exchange (hard version)
dfs and similar
,
dsu
,
math
1300
x16926
1249B1
Books Exchange (easy version)
dsu
,
math
1000
x20792
1249A
Yet Another Dividing into Teams
math
800
x22429
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
x16944
1248A
Integer Points
geometry
,
math
1000
x14177
1246F
Cursor Distance
3500
x179
1245F
Daniel and Spring Cleaning
bitmasks
,
brute force
,
combinatorics
,
dp
2300
x2009
1245E
Hyakugoku and Ladders
dp
,
probabilities
,
shortest paths
2300
x1272
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x7677
1245C
Constanze's Machine
dp
1400
x17693
1245B
Restricted RPS
constructive algorithms
,
dp
,
greedy
1200
x13878
1245A
Good ol' Numbers Coloring
math
,
number theory
1000
x14265
1244G
Running in Pairs
constructive algorithms
,
greedy
,
math
2400
x1363
1244F
Chips
constructive algorithms
,
implementation
2300
x1544
1244E
Minimizing Difference
binary search
,
constructive algorithms
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x5241
1244D
Paint the Tree
brute force
,
constructive algorithms
,
dp
,
graphs
,
implementation
,
trees
1800
x7616
1244C
The Football Season
brute force
,
math
,
number theory
2000
x7658
1244B
Rooms and Staircases
brute force
,
implementation
1000
x15908
1244A
Pens and Pencils
math
800
x19298
1243B2
Character Swap (Hard Version)
strings
1600
x7111
1243B1
Character Swap (Easy Version)
strings
1000
x14922
1243A
Maximum Square
implementation
800
x15717
1242E
Planar Perimeter
constructive algorithms
,
graphs
3200
x131
1242D
Number Discovery
math
3400
x199
1242C
Sum Balance
bitmasks
,
dfs and similar
,
dp
,
graphs
2400
x1682
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x7584
1242A
Tile Painting
constructive algorithms
,
math
,
number theory
1500
x12665
1240F
Football
graphs
3100
x256
1239F
Swiper, no swiping!
graphs
,
implementation
3400
x281
1239E
Turtle
dp
,
implementation
3100
x960
1239D
Catowice City
2-sat
,
dfs and similar
,
graph matchings
,
graphs
2400
x2061
1239C
Queue in the Train
data structures
,
greedy
,
implementation
2300
x1558
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
x7380
1238G
Adilbek and the Watering System
data structures
,
greedy
,
sortings
2700
x410
1238F
The Maximum Subtree
dfs and similar
,
dp
,
graphs
,
trees
2200
x1890
1238E
Keyboard Purchase
bitmasks
,
dp
2200
x3064
1238D
AB-string
binary search
,
combinatorics
,
dp
,
strings
1900
x6064
1238C
Standard Free2play
dp
,
greedy
,
math
1600
x7445
1238B
Kill `Em All
greedy
,
sortings
1300
x13684
1238A
Prime Subtraction
math
,
number theory
900
x24542
1237H
Balanced Reversals
constructive algorithms
3300
x373
1237G
Balanced Distribution
data structures
,
dp
,
greedy
3500
x123
1237F
Balanced Domino Placements
combinatorics
,
dp
2600
x904
1237E
Balanced Binary Search Trees
dp
,
math
2400
x1335
1237D
Balanced Playlist
binary search
,
data structures
,
implementation
2000
x4248
1237C2
Balanced Removals (Harder)
binary search
,
constructive algorithms
,
divide and conquer
,
greedy
,
implementation
,
sortings
1900
x4356
1237C1
Balanced Removals (Easier)
constructive algorithms
,
geometry
,
greedy
1700
x6113
1237B
Balanced Tunnel
data structures
,
sortings
,
two pointers
1300
x16286
1237A
Balanced Rating Changes
implementation
,
math
1000
x20041
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
x668
1236D
Alice and the Doll
brute force
,
data structures
,
greedy
,
implementation
2300
x1676
1236C
Labs
constructive algorithms
,
greedy
,
implementation
1300
x10176
1236B
Alice and the List of Presents
combinatorics
,
math
1500
x11134
1236A
Stones
brute force
,
greedy
,
math
800
x16476
1234F
Yet Another Substring Reverse
bitmasks
,
dp
2200
x2614
1234E
Special Permutations
math
2000
x2796
1234D
Distinct Characters Queries
data structures
1600
x15323
1234C
Pipes
dp
,
implementation
1500
x12663
1234B2
Social Network (hard version)
data structures
,
implementation
1300
x16970
1234B1
Social Network (easy version)
implementation
1000
x18812
1234A
Equalize Prices Again
math
800
x27898
1231E
Middle-Out
constructive algorithms
,
greedy
,
strings
2200
x841
1231C
Increasing Matrix
greedy
1100
x3869
1230B
Ania and Minimizing
greedy
,
implementation
1000
x18773
1230A
Dawid and Bags of Candies
brute force
,
implementation
800
x21705
1228F
One Node is Gone
constructive algorithms
,
implementation
,
trees
2500
x439
1228E
Another Filling the Grid
combinatorics
,
dp
,
math
2300
x2779
1228D
Complete Tripartite
brute force
,
constructive algorithms
,
graphs
,
hashing
,
implementation
1900
x5230
1228C
Primes and Multiplication
math
,
number theory
1700
x9075
1228B
Filling the Grid
implementation
,
math
1400
x11561
1228A
Distinct Digits
brute force
,
implementation
800
x21848
1227G
Not Same
constructive algorithms
2600
x1044
1227F2
Wrong Answer on test 233 (Hard Version)
combinatorics
,
math
2400
x1528
1227F1
Wrong Answer on test 233 (Easy Version)
dp
2200
x1832
1227E
Arson In Berland Forest
binary search
,
graphs
,
graphs
,
shortest paths
2200
x1495
1227D2
Optimal Subsequences (Hard Version)
data structures
,
greedy
1800
x4409
1227D1
Optimal Subsequences (Easy Version)
data structures
,
greedy
1600
x6450
1227C
Messy
constructive algorithms
1700
x5533
1227B
Box
constructive algorithms
1200
x9698
1227A
Math Problem
math
1100
x9839
1225G
To Make 1
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
number theory
3100
x560
1225F
Tree Factory
constructive algorithms
,
greedy
,
trees
2500
x886
1225E
Rock Is Push
binary search
,
dp
2200
x1901
1225D
Power Products
hashing
,
math
,
number theory
1800
x8131
1225C
p-binary
bitmasks
,
brute force
,
math
1600
x9031
1225B2
TV Subscriptions (Hard Version)
implementation
,
two pointers
1300
x10753
1225B1
TV Subscriptions (Easy Version)
implementation
1000
x11936
←
1
2
...
43
44
45
46
47
...
99
100
→
User lists
Name