Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
03:13:38
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
1796F
Strange Triples
brute force
,
math
,
number theory
2900
x175
1796E
Colored Subgraphs
dfs and similar
,
dp
,
games
,
greedy
,
trees
2500
x772
1796D
Maximum Subarray
data structures
,
dp
,
greedy
,
two pointers
2000
x4418
1796C
Maximum Set
binary search
,
math
1600
x10550
1796B
Asterisk-Minor Template
implementation
,
strings
1000
x16636
1796A
Typical Interview Problem
brute force
,
implementation
,
strings
800
x18899
1795G
Removal Sequences
bitmasks
,
dfs and similar
,
graphs
2700
x690
1795F
Blocking Chips
binary search
,
constructive algorithms
,
dfs and similar
,
greedy
,
trees
2400
x1121
1795E
Explosions?
binary search
,
data structures
,
dp
,
greedy
,
math
2200
x2062
1795D
Triangle Coloring
combinatorics
,
math
1600
x9300
1795C
Tea Tasting
binary search
,
data structures
,
implementation
1500
x12758
1795B
Ideal Point
brute force
,
geometry
,
greedy
900
x22173
1795A
Two Towers
brute force
,
implementation
,
strings
800
x23696
1794E
Labeling the Tree with Distances
data structures
,
dp
,
greedy
,
hashing
,
implementation
,
trees
2400
x1115
1794D
Counting Factorizations
combinatorics
,
divide and conquer
,
dp
,
math
,
number theory
1900
x3622
1794C
Scoring Subsequences
binary search
,
greedy
,
math
,
two pointers
1300
x14102
1794B
Not Dividing
constructive algorithms
,
greedy
,
math
900
x23075
1794A
Prefix and Suffix Array
strings
800
x17245
1793F
Rebrending
brute force
,
data structures
,
divide and conquer
,
implementation
2600
x1409
1793E
Velepin and Marketing
binary search
,
data structures
,
dp
,
greedy
,
sortings
,
two pointers
2600
x1101
1793D
Moscow Gorillas
binary search
,
dp
,
greedy
,
implementation
,
math
,
two pointers
1800
x6265
1793C
Dora and Search
constructive algorithms
,
data structures
,
two pointers
1200
x20951
1793B
Fedya and Array
constructive algorithms
,
math
1100
x15913
1793A
Yet Another Promotion
greedy
,
math
800
x18117
1792F2
Graph Coloring (hard version)
brute force
,
combinatorics
,
divide and conquer
,
dp
,
fft
,
graphs
2900
x398
1792F1
Graph Coloring (easy version)
combinatorics
,
dp
,
graphs
2700
x740
1792E
Divisors and Table
brute force
,
dfs and similar
,
dp
,
number theory
2400
x1395
1792D
Fixed Prefix Permutations
binary search
,
bitmasks
,
data structures
,
hashing
,
math
,
sortings
1700
x6326
1792C
Min Max Sort
binary search
,
brute force
,
greedy
,
math
,
two pointers
1500
x14285
1792B
Stand-up Comedian
greedy
,
math
1200
x21574
1792A
GamingForces
greedy
,
sortings
800
x28320
1791G2
Teleporters (Hard Version)
binary search
,
greedy
,
sortings
1900
x4836
1791G1
Teleporters (Easy Version)
greedy
,
sortings
1100
x23095
1791F
Range Update Point Query
binary search
,
brute force
,
data structures
1500
x12611
1791E
Negatives and Positives
dp
,
greedy
,
sortings
1100
x29046
1791D
Distinct Split
brute force
,
greedy
,
strings
1000
x31460
1791C
Prepend and Append
implementation
,
two pointers
800
x46711
1791B
Following Directions
geometry
,
implementation
800
x44979
1791A
Codeforces Checking
implementation
,
strings
800
x61958
1790G
Tokens on Graph
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2300
x1134
1790F
Timofey and Black-White Tree
brute force
,
dfs and similar
,
divide and conquer
,
graphs
,
greedy
,
math
,
shortest paths
,
trees
2100
x3385
1790E
Vlad and a Pair of Numbers
bitmasks
,
constructive algorithms
1400
x15318
1790D
Matryoshkas
data structures
,
greedy
,
sortings
1200
x20718
1790C
Premutation
brute force
,
implementation
,
math
1000
x24133
1790B
Taisia and Dice
greedy
,
greedy
,
math
800
x27555
1790A
Polycarp and the Day of Pi
implementation
,
math
,
strings
800
x37341
1789F
Serval and Brain Power
bitmasks
,
brute force
,
dp
,
greedy
,
implementation
,
strings
2700
x726
1789E
Serval and Music Game
brute force
,
dp
,
implementation
,
math
,
number theory
2500
x823
1789D
Serval and Shift-Shift-Shift
bitmasks
,
brute force
,
constructive algorithms
,
implementation
2200
x1697
1789C
Serval and Toxel's Arrays
combinatorics
,
dp
,
implementation
,
math
1500
x8651
1789B
Serval and Inversion Magic
brute force
,
implementation
,
strings
,
two pointers
800
x16275
1789A
Serval and Mocha's Array
brute force
,
math
,
number theory
800
x19533
1788F
XOR, Tree, and Queries
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
trees
2500
x862
1788E
Sum Over Zero
data structures
,
dfs and similar
,
dp
2200
x2720
1788D
Moving Dots
binary search
,
brute force
,
combinatorics
,
math
,
two pointers
2000
x3961
1788C
Matching Numbers
constructive algorithms
,
greedy
,
math
1300
x17444
1788B
Sum of Two Numbers
constructive algorithms
,
greedy
,
implementation
,
math
,
probabilities
1100
x20185
1788A
One and Two
brute force
,
implementation
,
math
800
x31664
1787I
Treasure Hunt
data structures
,
divide and conquer
,
two pointers
3400
x221
1787H
Codeforces Scoreboard
binary search
,
data structures
,
dp
,
geometry
3300
x237
1787G
Colorful Tree Again
brute force
,
data structures
,
trees
3000
x439
1787F
Inverse Transformation
constructive algorithms
,
implementation
,
math
2500
x690
1787E
The Harmonization of XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
2100
x2371
1787D
Game on Axis
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
implementation
1900
x3426
1787C
Remove the Bracket
dp
,
greedy
,
math
1600
x7157
1787B
Number Factorization
greedy
,
math
,
number theory
1100
x13361
1787A
Exponential Equation
constructive algorithms
,
math
800
x19274
1786B
Cake Assembly Line
brute force
,
sortings
1300
x9038
1786A2
Alternating Deck (hard version)
implementation
800
x11462
1786A1
Non-alternating Deck (easy version)
implementation
800
x14089
1784F
Minimums or Medians
3400
x254
1784E
Infinite Game
brute force
,
combinatorics
,
dp
,
games
,
probabilities
3100
x346
1784D
Wooden Spoon
combinatorics
,
dp
2400
x1036
1784C
Monsters (hard version)
data structures
,
greedy
2200
x1682
1784B
Letter Exchange
constructive algorithms
1900
x3358
1784A
Monsters (easy version)
brute force
,
greedy
1000
x15254
1783G
Weighed Tree Radius
data structures
,
divide and conquer
,
implementation
,
trees
2800
x481
1783F
Double Sort II
dfs and similar
,
flows
,
graph matchings
,
graphs
2500
x1037
1783E
Game of the Year
brute force
,
data structures
,
math
,
number theory
2300
x2123
1783D
Different Arrays
brute force
,
dp
,
implementation
2000
x4495
1783C
Yet Another Tournament
binary search
,
greedy
,
sortings
1700
x9403
1783B
Matrix of Differences
constructive algorithms
,
math
1100
x17848
1783A
Make it Beautiful
constructive algorithms
,
math
,
sortings
800
x30865
1781H2
Window Signals (hard version)
3500
x97
1781H1
Window Signals (easy version)
3200
x119
1781G
Diverse Coloring
constructive algorithms
,
trees
3200
x232
1781F
Bracket Insertion
combinatorics
,
dp
,
math
,
trees
2700
x911
1781E
Rectangle Shrinking
binary search
,
brute force
,
data structures
,
greedy
,
implementation
,
two pointers
2300
x1309
1781D
Many Perfect Squares
brute force
,
math
,
number theory
1800
x5552
1781C
Equal Frequencies
brute force
,
constructive algorithms
,
greedy
,
implementation
,
sortings
,
strings
1600
x7722
1781B
Going to the Cinema
brute force
,
greedy
,
sortings
1000
x13578
1781A
Parallel Projection
geometry
,
math
800
x15129
1780G
Delicious Dessert
binary search
,
dsu
,
hashing
,
math
,
number theory
,
string suffix structures
2400
x752
1780F
Three Chairs
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
number theory
,
sortings
2300
x1508
1780E
Josuke and Complete Graph
binary search
,
brute force
,
data structures
,
math
,
number theory
2400
x1459
1780D
Bit Guessing Game
binary search
,
bitmasks
,
constructive algorithms
,
interactive
1800
x5004
1780B
GCD Partition
brute force
,
greedy
,
math
,
number theory
1100
x18408
1780A
Hayato and School
constructive algorithms
,
greedy
800
x21774
1779H
Olympic Team Building
brute force
,
meet-in-the-middle
3500
x144
1779G
The Game of the Century
constructive algorithms
,
graphs
,
shortest paths
3000
x322
←
1
2
...
13
14
15
16
17
...
96
97
→
User lists
Name