Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
02:54:08
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
1715A
Crossmarket
constructive algorithms
,
greedy
,
math
800
x23597
1714D
Color with Occurrences
brute force
,
data structures
,
dp
,
greedy
,
strings
1600
x9159
1714C
Minimum Varied Number
greedy
800
x31172
1714B
Remove Prefix
data structures
,
greedy
,
implementation
800
x30574
1713E
Cross Swapping
2-sat
,
data structures
,
dsu
,
greedy
,
matrices
2400
x1707
1713D
Tournament Countdown
constructive algorithms
,
greedy
,
interactive
,
number theory
,
probabilities
1800
x5719
1713A
Traveling Salesman Problem
geometry
,
greedy
,
implementation
800
x22035
1712D
Empty Graph
binary search
,
constructive algorithms
,
data structures
,
greedy
,
shortest paths
2000
x4565
1712C
Sort Zero
greedy
,
sortings
1100
x19929
1712B
Woeful Permutation
constructive algorithms
,
greedy
,
number theory
800
x21653
1712A
Wonderful Permutation
greedy
,
implementation
800
x24151
1710C
XOR Triangle
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
math
2500
x1391
1710B
Rain
binary search
,
brute force
,
data structures
,
geometry
,
greedy
,
implementation
,
math
2100
x2494
1710A
Color the Picture
constructive algorithms
,
greedy
,
math
1500
x10963
1709E
XOR Tree
bitmasks
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
2400
x2770
1709D
Rorororobot
binary search
,
data structures
,
greedy
,
math
1700
x8480
1709C
Recover an RBS
constructive algorithms
,
greedy
,
implementation
,
strings
1800
x8915
1709A
Three Doors
brute force
,
greedy
,
implementation
,
math
800
x29733
1708A
Difference Operations
greedy
,
math
800
x21828
1707C
DFS Trees
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2400
x1533
1707A
Doremy's IQ
binary search
,
constructive algorithms
,
greedy
,
implementation
1600
x13722
1706E
Qpwoeirut and Vertices
binary search
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
trees
2300
x2769
1706D2
Chopping Carrots (Hard Version)
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
two pointers
2400
x1722
1706D1
Chopping Carrots (Easy Version)
binary search
,
brute force
,
constructive algorithms
,
greedy
,
number theory
1700
x7031
1706C
Qpwoeirut And The City
dp
,
flows
,
greedy
,
implementation
1400
x14985
1706B
Making Towers
dp
,
greedy
,
math
1100
x16612
1706A
Another String Minimization Problem
2-sat
,
constructive algorithms
,
greedy
,
string suffix structures
,
strings
800
x23011
1705E
Mark and Professor Koro
binary search
,
bitmasks
,
brute force
,
combinatorics
,
data structures
,
greedy
2300
x2106
1705D
Mark and Lightbulbs
combinatorics
,
constructive algorithms
,
greedy
,
math
,
sortings
1800
x6378
1705B
Mark the Dust Sweeper
constructive algorithms
,
greedy
,
implementation
900
x23108
1705A
Mark the Photographer
greedy
,
sortings
800
x25331
1704C
Virus
greedy
,
implementation
,
sortings
1200
x16128
1704B
Luke is a Foodie
brute force
,
greedy
,
implementation
1000
x18469
1704A
Two 0-1 Sequences
constructive algorithms
,
greedy
800
x16045
1703G
Good Key, Bad Key
bitmasks
,
brute force
,
dp
,
greedy
,
math
1600
x10820
1703F
Yet Another Problem About Pairs Satisfying an Inequality
binary search
,
data structures
,
dp
,
greedy
,
sortings
1300
x20439
1702F
Equate Multisets
constructive algorithms
,
data structures
,
greedy
,
math
,
number theory
1700
x8461
1702D
Not a Cheap String
greedy
1000
x23836
1702C
Train and Queries
data structures
,
greedy
1100
x22606
1702B
Polycarp Writes a String from Memory
greedy
800
x27769
1701E
Text Editor
brute force
,
dp
,
greedy
,
strings
2500
x1140
1701D
Permutation Restoration
binary search
,
data structures
,
greedy
,
math
,
sortings
,
two pointers
1900
x5725
1701C
Schedule Management
binary search
,
greedy
,
implementation
,
two pointers
1400
x17324
1701B
Permutation
greedy
800
x20238
1700F
Puzzle
constructive algorithms
,
dp
,
greedy
2600
x941
1700D
River Locks
binary search
,
dp
,
greedy
,
math
1900
x6157
1700C
Helping the Nature
constructive algorithms
,
data structures
,
greedy
1700
x10990
1700A
Optimal Path
constructive algorithms
,
greedy
,
math
800
x22943
1699E
Three Days Grace
data structures
,
dp
,
greedy
,
math
,
number theory
,
two pointers
2600
x1186
1699D
Almost Triple Deletions
data structures
,
dp
,
greedy
2300
x3164
1698E
PermutationForces II
brute force
,
combinatorics
,
greedy
,
sortings
,
trees
,
two pointers
2300
x1657
1698B
Rising Sand
constructive algorithms
,
greedy
,
implementation
800
x20977
1697E
Coloring
brute force
,
combinatorics
,
constructive algorithms
,
dp
,
geometry
,
graphs
,
greedy
,
implementation
,
math
2400
x1238
1697C
awoo's Favorite Problem
binary search
,
constructive algorithms
,
data structures
,
greedy
,
implementation
,
strings
,
two pointers
1400
x14462
1697B
Promo
greedy
,
sortings
900
x26910
1697A
Parkway Walk
greedy
,
implementation
800
x25796
1696H
Maximum Product?
brute force
,
combinatorics
,
dp
,
greedy
,
implementation
,
math
,
two pointers
3500
x164
1696D
Permutation Graph
binary search
,
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
shortest paths
1900
x5496
1696C
Fishingprince Plays With Array
constructive algorithms
,
greedy
,
implementation
,
math
1400
x11694
1696B
NIT Destroys the Universe
greedy
900
x21844
1696A
NIT orz!
bitmasks
,
greedy
800
x18875
1695D2
Tree Queries (Hard Version)
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2300
x2023
1695D1
Tree Queries (Easy Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2200
x2198
1695C
Zero Path
brute force
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
1700
x11017
1695B
Circle Game
games
,
greedy
1000
x18568
1694B
Paranoid String
constructive algorithms
,
greedy
1200
x19240
1694A
Creep
greedy
,
implementation
800
x22713
1693F
I Might Be Wrong
binary search
,
greedy
,
two pointers
3400
x418
1693E
Outermost Maximums
data structures
,
greedy
3400
x431
1693D
Decinc Dividing
brute force
,
data structures
,
divide and conquer
,
dp
,
greedy
2800
x852
1693C
Keshi in Search of AmShZ
graphs
,
greedy
,
shortest paths
2300
x2647
1693B
Fake Plastic Trees
dfs and similar
,
dp
,
greedy
,
trees
1700
x8553
1693A
Directional Increase
greedy
1300
x16232
1692H
Gambling
data structures
,
dp
,
greedy
,
math
1700
x7541
1692B
All Distinct
greedy
,
sortings
800
x34498
1691E
Number of Groups
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
2300
x1852
1691C
Sum of Substrings
brute force
,
constructive algorithms
,
greedy
,
math
,
strings
1400
x15749
1691B
Shoe Shuffling
constructive algorithms
,
greedy
,
implementation
,
two pointers
1000
x23483
1691A
Beat The Odds
brute force
,
greedy
,
math
800
x30651
1690G
Count the Trains
binary search
,
data structures
,
greedy
,
sortings
2000
x3426
1690E
Price Maximization
binary search
,
greedy
,
math
,
two pointers
1500
x15326
1690C
Restoring the Duration of Tasks
data structures
,
greedy
,
implementation
800
x26295
1690B
Array Decrements
greedy
,
implementation
800
x25534
1690A
Print a Pedestal (Codeforces logo?)
constructive algorithms
,
greedy
800
x33694
1689B
Mystic Permutation
data structures
,
greedy
900
x17599
1689A
Lex String
brute force
,
greedy
,
implementation
,
sortings
,
two pointers
800
x16824
1688C
Manipulating History
constructive algorithms
,
greedy
,
strings
1700
x8195
1688B
Patchouli's Magical Talisman
bitmasks
,
constructive algorithms
,
greedy
,
sortings
800
x18331
1687E
Become Big For Me
combinatorics
,
constructive algorithms
,
greedy
,
math
,
number theory
3500
x232
1687C
Sanae and Giant Robot
binary search
,
brute force
,
data structures
,
dsu
,
greedy
,
sortings
2500
x1435
1687B
Railway System
constructive algorithms
,
graphs
,
greedy
,
interactive
,
sortings
1700
x3674
1687A
The Enchanted Forest
brute force
,
greedy
1600
x10454
1686B
Odd Subarrays
dp
,
greedy
800
x18327
1686A
Everything Everywhere All But One
greedy
800
x20520
1685E
The Ultimate LIS Problem
data structures
,
greedy
3500
x151
1685D2
Permutation Weight (Hard Version)
constructive algorithms
,
greedy
3500
x108
1685C
Bring Balance
brute force
,
constructive algorithms
,
greedy
2600
x1089
1685B
Linguistics
greedy
,
implementation
,
sortings
,
strings
2000
x3296
1685A
Circular Local MiniMax
constructive algorithms
,
greedy
,
sortings
1100
x17203
1684E
MEX vs DIFF
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
2100
x3192
←
1
2
...
7
8
9
10
11
...
29
30
→
User lists
Name