Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
10:59:17
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
greedy
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
1481C
Fence Painting
brute force
,
constructive algorithms
,
greedy
1600
x11694
1481B
New Colony
brute force
,
greedy
,
implementation
1100
x19326
1481A
Space Navigation
greedy
,
strings
800
x24989
1480B
The Great Hero
greedy
,
implementation
,
sortings
900
x17259
1480A
Yet Another String Game
games
,
greedy
,
strings
800
x25930
1479B2
Painting the Array II
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
2100
x4087
1479B1
Painting the Array I
constructive algorithms
,
data structures
,
dp
,
greedy
,
implementation
1900
x7005
1478B
Nezzar and Lucky Number
brute force
,
dp
,
greedy
,
math
1100
x18339
1478A
Nezzar and Colorful Balls
brute force
,
greedy
800
x26554
1477E
Nezzar and Tournaments
data structures
,
greedy
3300
x124
1477C
Nezzar and Nice Beatmap
constructive algorithms
,
geometry
,
greedy
,
math
,
sortings
2200
x2334
1477B
Nezzar and Binary String
data structures
,
greedy
1900
x3243
1476C
Longest Simple Cycle
dp
,
graphs
,
greedy
1600
x11430
1476B
Inflation
binary search
,
brute force
,
greedy
,
math
1300
x20114
1476A
K-divisible Sum
binary search
,
constructive algorithms
,
greedy
,
math
1000
x38065
1474E
What Is It?
constructive algorithms
,
greedy
2500
x1351
1474D
Cleaning
data structures
,
dp
,
greedy
,
math
2200
x4010
1474C
Array Destruction
brute force
,
constructive algorithms
,
data structures
,
greedy
,
implementation
,
sortings
1700
x12800
1474B
Different Divisors
binary search
,
constructive algorithms
,
greedy
,
math
,
number theory
1000
x29251
1474A
Puzzle From the Future
greedy
800
x22635
1473A
Replacing Elements
greedy
,
implementation
,
math
,
sortings
800
x33982
1472F
New Year's Puzzle
brute force
,
dp
,
graph matchings
,
greedy
,
sortings
2100
x3077
1472D
Even-Odd Game
dp
,
games
,
greedy
,
sortings
1200
x27674
1472B
Fair Division
dp
,
greedy
,
math
800
x51097
1472A
Cards for Friends
greedy
,
math
800
x42167
1471B
Strange List
brute force
,
greedy
,
implementation
,
math
1100
x19386
1471A
Strange Partition
greedy
,
math
,
number theory
900
x26618
1470D
Strange Housing
constructive algorithms
,
dfs and similar
,
graph matchings
,
graphs
,
greedy
2200
x3737
1470A
Strange Birthday Party
binary search
,
dp
,
greedy
,
sortings
,
two pointers
1300
x22718
1469F
Power Sockets
binary search
,
data structures
,
greedy
2600
x915
1469C
Building a Fence
dp
,
greedy
,
implementation
,
two pointers
1600
x10794
1469B
Red and Blue
dp
,
greedy
1000
x27553
1469A
Regular Bracket Sequence
constructive algorithms
,
greedy
1000
x27596
1468N
Waste Sorting
greedy
,
implementation
900
x8253
1468L
Prime Divisors Selection
binary search
,
greedy
,
math
,
number theory
2700
x328
1468J
Road Reform
dsu
,
graphs
,
greedy
1800
x4406
1468H
K and Medians
constructive algorithms
,
greedy
,
math
2200
x1828
1468E
Four Segments
greedy
800
x8867
1468A
LaIS
data structures
,
dp
,
greedy
2200
x1692
1467C
Three Bags
constructive algorithms
,
greedy
1900
x6429
1467A
Wizard of Orz
constructive algorithms
,
greedy
,
math
900
x24392
1466H
Finding satisfactory solutions
combinatorics
,
dp
,
graphs
,
greedy
,
math
3300
x306
1466F
Euclid's nightmare
bitmasks
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
,
sortings
2100
x2880
1466D
13th Labour of Heracles
data structures
,
greedy
,
sortings
,
trees
1500
x11453
1466C
Canine poetry
dp
,
greedy
,
strings
1300
x17735
1466B
Last minute enhancements
dp
,
greedy
800
x22723
1463D
Pairs
binary search
,
constructive algorithms
,
greedy
,
two pointers
1900
x4461
1463B
Find The Array
bitmasks
,
constructive algorithms
,
greedy
1400
x19534
1462F
The Treasure of The Segments
binary search
,
data structures
,
greedy
1800
x7046
1462D
Add to Neighbour and Remove
greedy
,
math
,
number theory
1400
x16853
1462C
Unique Number
brute force
,
greedy
,
math
900
x32820
1461F
Mathematical Expression
constructive algorithms
,
dp
,
greedy
2700
x557
1461E
Water Level
brute force
,
graphs
,
greedy
,
implementation
,
math
2200
x2130
1461A
String Generation
constructive algorithms
,
greedy
800
x18600
1458D
Flip and Reverse
data structures
,
graphs
,
greedy
3100
x1119
1456E
XOR-ranges
dp
,
greedy
3500
x285
1455F
String and Operations
dp
,
greedy
2800
x450
1455E
Four Points
brute force
,
constructive algorithms
,
flows
,
geometry
,
greedy
,
implementation
,
math
,
ternary search
2400
x1550
1455D
Sequence and Swaps
dp
,
greedy
,
sortings
1600
x12367
1454F
Array Partition
binary search
,
data structures
,
greedy
,
two pointers
2100
x4089
1454C
Sequence Transformation
greedy
,
implementation
1200
x21545
1453E
Dog Snacks
binary search
,
dfs and similar
,
dp
,
greedy
,
trees
2300
x2060
1453D
Checkpoints
brute force
,
constructive algorithms
,
greedy
,
math
,
probabilities
1900
x4175
1453C
Triangles
greedy
,
implementation
1700
x6055
1452G
Game On Tree
data structures
,
dfs and similar
,
greedy
,
trees
2700
x489
1452F
Divide Powers
constructive algorithms
,
greedy
2900
x321
1452E
Two Editorials
brute force
,
dp
,
greedy
,
sortings
,
two pointers
2500
x1568
1452C
Two Brackets
greedy
800
x19682
1452B
Toy Blocks
binary search
,
greedy
,
math
,
sortings
1400
x14774
1451C
String Equality
dp
,
greedy
,
hashing
,
implementation
,
strings
1400
x15686
1451B
Non-Substring Subsequence
dp
,
greedy
,
implementation
,
strings
900
x19349
1451A
Subtract or Divide
greedy
,
math
800
x24321
1450F
The Struggling Contestant
constructive algorithms
,
greedy
2400
x1352
1450D
Rating Compression
binary search
,
data structures
,
greedy
,
implementation
,
two pointers
1800
x5514
1450B
Balls of Steel
brute force
,
geometry
,
greedy
1000
x15210
1447B
Numbers Box
greedy
,
math
1000
x16951
1446D2
Frequency Problem (Hard Version)
data structures
,
greedy
,
two pointers
3000
x1352
1446D1
Frequency Problem (Easy Version)
data structures
,
greedy
2600
x1778
1446A
Knapsack
constructive algorithms
,
greedy
,
sortings
1300
x15661
1445B
Elimination
greedy
,
math
900
x15349
1445A
Array Rearrangment
greedy
,
sortings
800
x19133
1443C
The Delivery Dilemma
binary search
,
greedy
,
sortings
1400
x15475
1443B
Saving the City
dp
,
greedy
,
math
,
sortings
1300
x15831
1442E
Black, White and Grey Tree
binary search
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
3000
x605
1442D
Sum
data structures
,
divide and conquer
,
dp
,
greedy
2800
x2278
1442C
Graph Transpositions
dfs and similar
,
graphs
,
greedy
,
shortest paths
2400
x1706
1442B
Identify the Operations
combinatorics
,
data structures
,
dsu
,
greedy
,
implementation
1800
x4505
1442A
Extreme Subtraction
constructive algorithms
,
dp
,
greedy
1800
x8915
1440B
Sum of Medians
greedy
,
math
900
x19252
1439C
Greedy Shopping
binary search
,
data structures
,
divide and conquer
,
greedy
,
implementation
2600
x1928
1439A2
Binary Table (Hard Version)
constructive algorithms
,
graphs
,
greedy
,
implementation
1900
x5136
1438B
Valerii Against Everyone
constructive algorithms
,
data structures
,
greedy
,
sortings
1000
x20038
1437D
Minimal Height Tree
graphs
,
greedy
,
shortest paths
,
trees
1600
x12878
1437C
Chef Monocarp
dp
,
flows
,
graph matchings
,
greedy
,
math
,
sortings
1800
x10587
1437B
Reverse Binary Strings
constructive algorithms
,
greedy
1200
x19351
1437A
Marketing Scheme
brute force
,
constructive algorithms
,
greedy
,
math
800
x18034
1436D
Bandit in a City
binary search
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x6093
1433C
Dominant Piranha
constructive algorithms
,
greedy
900
x27095
1433B
Yet Another Bookshelf
greedy
,
implementation
800
x28644
1431H
Rogue-like Game
*special problem
,
brute force
,
greedy
,
two pointers
2600
x67
←
1
2
...
12
13
14
15
16
...
29
30
→
User lists
Name