Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Contest is running
Codeforces Round 987 (Div. 2)
01:38:59
Register now »
→ 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
1362C
Johnny and Another Rating Drop
bitmasks
,
greedy
,
math
1400
x18556
1361B
Johnny and Grandmaster
greedy
,
implementation
,
math
,
sortings
1900
x3641
1361A
Johnny and Contribution
constructive algorithms
,
graphs
,
greedy
,
sortings
1700
x8442
1360G
A/B Matrix
constructive algorithms
,
greedy
,
math
1900
x7824
1360F
Spy-string
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
hashing
,
strings
1700
x12498
1360E
Polygon
dp
,
graphs
,
implementation
,
shortest paths
1300
x25495
1360D
Buying Shovels
math
,
number theory
1300
x33653
1359C
Mixing Water
binary search
,
math
1700
x13924
1358D
The Best Vacation
binary search
,
brute force
,
greedy
,
implementation
,
two pointers
1900
x8197
1358C
Celex Update
math
1600
x17451
1355D
Game With Array
constructive algorithms
,
math
1400
x18120
1355C
Count Triangles
binary search
,
implementation
,
math
,
two pointers
1800
x10719
1354D
Multiset
binary search
,
data structures
1900
x8874
1354C1
Simple Polygon Embedding
binary search
,
geometry
,
math
,
ternary search
1400
x15729
1353E
K-periodic Garland
brute force
,
dp
,
greedy
1900
x7187
1353D
Constructing the Array
constructive algorithms
,
data structures
,
sortings
1600
x18229
1352G
Special Permutation
constructive algorithms
1600
x21500
1352F
Binary String Reconstruction
constructive algorithms
,
dfs and similar
,
math
1500
x17293
1352E
Special Elements
brute force
,
implementation
,
two pointers
1500
x20733
1352D
Alice, Bob and Candies
implementation
1300
x26412
1351C
Skier
data structures
,
implementation
1400
x8618
1350B
Orac and Models
dp
,
math
,
number theory
1400
x22509
1349A
Orac and LCM
data structures
,
math
,
number theory
1600
x17300
1348D
Phoenix and Science
binary search
,
constructive algorithms
,
greedy
,
implementation
,
math
1900
x8906
1348C
Phoenix and Distribution
constructive algorithms
,
greedy
,
sortings
,
strings
1600
x14679
1348B
Phoenix and Beauty
constructive algorithms
,
data structures
,
greedy
,
sortings
1400
x25505
1346E
Magic Tricks
*special problem
,
dp
,
graphs
1700
x380
1346D
Constructing the Dungeon
*special problem
,
graphs
,
greedy
1600
x506
1346C
Spring Cleaning
*special problem
,
greedy
,
sortings
1600
x608
1346B
Boot Camp
*special problem
,
greedy
1400
x1210
1344A
Hilbert's Hotel
math
,
number theory
,
sortings
1600
x15696
1343D
Constant Palindrome Sum
brute force
,
data structures
,
greedy
,
two pointers
1700
x12756
1342D
Multiple Testcases
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
,
two pointers
1900
x6123
1342C
Yet Another Counting Problem
math
,
number theory
1600
x14088
1341B
Nastya and Door
greedy
,
implementation
1300
x19742
1340B
Nastya and Scoreboard
bitmasks
,
dp
,
graphs
,
greedy
1700
x7873
1340A
Nastya and Strange Generator
brute force
,
data structures
,
greedy
,
implementation
1500
x13430
1338B
Edge Weight Assignment
bitmasks
,
constructive algorithms
,
dfs and similar
,
greedy
,
math
,
trees
1800
x8508
1338A
Powered Addition
greedy
,
math
1500
x24293
1336B
Xenia and Colorful Gems
binary search
,
greedy
,
math
,
sortings
,
two pointers
1700
x11415
1336A
Linova and Kingdom
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1600
x20592
1335E2
Three Blocks Palindrome (hard version)
brute force
,
data structures
,
dp
,
two pointers
1800
x8388
1335E1
Three Blocks Palindrome (easy version)
binary search
,
brute force
,
data structures
,
dp
,
two pointers
1700
x10895
1335D
Anti-Sudoku
constructive algorithms
,
implementation
1300
x27539
1334D
Minimum Euler Cycle
constructive algorithms
,
graphs
,
greedy
,
implementation
1800
x7340
1334C
Circle of Monsters
brute force
,
constructive algorithms
,
greedy
,
math
1600
x16727
1333C
Eugene and an array
binary search
,
data structures
,
implementation
,
two pointers
1700
x12640
1332D
Walk on Matrix
bitmasks
,
constructive algorithms
,
math
1700
x8198
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x16799
1332B
Composite Coloring
brute force
,
constructive algorithms
,
greedy
,
math
,
number theory
1400
x17671
1330B
Dreamoon Likes Permutations
implementation
,
math
1400
x14081
1329B
Dreamoon Likes Sequences
bitmasks
,
combinatorics
,
math
1700
x6714
1329A
Dreamoon Likes Coloring
constructive algorithms
,
greedy
,
implementation
,
math
1800
x9180
1328E
Tree Queries
dfs and similar
,
graphs
,
trees
1900
x9707
1328D
Carousel
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
1800
x13283
1328B
K-th Beautiful String
binary search
,
brute force
,
combinatorics
,
implementation
,
math
1300
x29302
1327E
Count The Blocks
combinatorics
,
dp
,
math
1800
x8993
1327C
Game with Chips
constructive algorithms
,
implementation
1600
x13454
1326D2
Prefix-Suffix Palindrome (Hard version)
binary search
,
greedy
,
hashing
,
string suffix structures
,
strings
1800
x10247
1326D1
Prefix-Suffix Palindrome (Easy version)
hashing
,
string suffix structures
,
strings
1500
x12156
1326C
Permutation Partitions
combinatorics
,
greedy
,
math
1300
x15673
1325D
Ehab the Xorcist
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1700
x12180
1325C
Ehab and Path-etic MEXs
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1500
x13775
1324F
Maximum White Subtree
dfs and similar
,
dp
,
graphs
,
trees
1800
x10172
1324E
Sleeping Schedule
dp
,
implementation
1700
x13713
1324D
Pair of Topics
binary search
,
data structures
,
sortings
,
two pointers
1400
x28715
1323B
Count Subrectangles
binary search
,
greedy
,
implementation
1500
x9090
1322A
Unusual Competitions
greedy
1300
x12454
1321C
Remove Adjacent
brute force
,
constructive algorithms
,
greedy
,
strings
1600
x9872
1320B
Navigation System
dfs and similar
,
graphs
,
shortest paths
1700
x6058
1320A
Journey Planning
data structures
,
dp
,
greedy
,
math
,
sortings
1400
x16584
1316C
Primitive Primes
constructive algorithms
,
math
,
ternary search
1800
x7308
1316B
String Modification
brute force
,
constructive algorithms
,
implementation
,
sortings
,
strings
1400
x11296
1315B
Homecoming
binary search
,
dp
,
greedy
,
strings
1300
x9224
1313C2
Skyscrapers (hard version)
data structures
,
dp
,
greedy
1900
x6545
1313C1
Skyscrapers (easy version)
brute force
,
data structures
,
dp
,
greedy
1500
x10472
1313B
Different Rules
constructive algorithms
,
greedy
,
implementation
,
math
1700
x6710
1312D
Count the Arrays
combinatorics
,
math
1700
x9541
1312C
Adding Powers
bitmasks
,
greedy
,
implementation
,
math
,
number theory
,
ternary search
1400
x16651
1311F
Moving Points
data structures
,
divide and conquer
,
implementation
,
sortings
1900
x4290
1311C
Perform the Combo
brute force
1300
x16073
1310A
Recommendations
data structures
,
greedy
,
sortings
1700
x5190
1307D
Cow and Fields
binary search
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
sortings
1900
x6440
1307C
Cow and Message
brute force
,
dp
,
math
,
strings
1500
x11876
1307B
Cow and Friend
geometry
,
greedy
,
math
1300
x13325
1305D
Kuroni and the Celebration
constructive algorithms
,
dfs and similar
,
interactive
,
trees
1900
x5046
1305C
Kuroni and Impossible Calculation
brute force
,
combinatorics
,
math
,
number theory
1600
x14875
1304D
Shortest and Longest LIS
constructive algorithms
,
graphs
,
greedy
,
two pointers
1800
x6352
1304C
Air Conditioner
dp
,
greedy
,
implementation
,
sortings
,
two pointers
1500
x16472
1303D
Fill The Bag
bitmasks
,
greedy
1900
x7160
1303C
Perfect Keyboard
dfs and similar
,
greedy
,
implementation
1600
x12212
1303B
National Project
math
1400
x15858
1301C
Ayoub's function
binary search
,
combinatorics
,
greedy
,
math
,
strings
1700
x9371
1301B
Motarack's Birthday
binary search
,
greedy
,
ternary search
1500
x14315
1299B
Aerodynamic
geometry
1800
x5273
1299A
Anu Has a Function
brute force
,
greedy
,
math
1500
x12068
1296E1
String Coloring (easy version)
constructive algorithms
,
dp
,
graphs
,
greedy
,
sortings
1800
x7532
1296D
Fight with Monsters
greedy
,
sortings
1500
x14394
1296C
Yet Another Walking Robot
data structures
,
implementation
1500
x14900
1295D
Same GCDs
math
,
number theory
1800
x9015
←
1
2
...
9
10
11
12
13
...
31
32
→
User lists
Name