Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
31:23:20
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
2036G
Library of Magic
binary search
,
constructive algorithms
,
divide and conquer
,
interactive
,
math
,
number theory
2200
x913
2036F
XORificator 3000
bitmasks
,
dp
,
number theory
,
two pointers
1900
x2969
2036E
Reverse the Rivers
binary search
,
constructive algorithms
,
data structures
,
greedy
1600
x5887
2035H
Peak Productivity Forces
constructive algorithms
3500
x50
2035G2
Go Learn! (Hard Version)
divide and conquer
,
dp
3500
x68
2035G1
Go Learn! (Easy Version)
dp
,
trees
3300
x123
2035F
Tree Operations
binary search
,
brute force
,
dfs and similar
,
dp
,
trees
2500
x713
2035E
Monster
binary search
,
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
,
ternary search
2300
x1423
2035D
Yet Another Real Number Problem
binary search
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
math
1800
x4240
2035C
Alya and Permutation
bitmasks
,
constructive algorithms
,
math
1400
x7653
2033G
Sakurako and Chefir
data structures
,
dfs and similar
,
dp
,
greedy
,
trees
2200
x1173
2033F
Kosuke's Sloth
brute force
,
math
,
number theory
1800
x5020
2033E
Sakurako, Kosuke, and the Permutation
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
1400
x9547
2033C
Sakurako's Field Trip
dp
,
greedy
,
two pointers
1400
x12191
2032F
Peanuts
combinatorics
,
dp
,
games
,
math
2700
x216
2032E
Balanced
constructive algorithms
,
data structures
,
greedy
,
implementation
,
math
2400
x846
2032D
Genokraken
constructive algorithms
,
data structures
,
graphs
,
greedy
,
implementation
,
interactive
,
trees
,
two pointers
1800
x4260
2032C
Trinity
binary search
,
math
,
sortings
,
two pointers
1400
x10490
2030G2
The Destruction of the Universe (Hard Version)
combinatorics
,
math
3100
x104
2030G1
The Destruction of the Universe (Easy Version)
combinatorics
,
greedy
,
math
2900
x140
2030F
Orangutan Approved Subarrays
binary search
,
data structures
,
dp
,
greedy
,
implementation
,
two pointers
2400
x637
2030E
MEXimize the Score
combinatorics
,
data structures
,
dp
,
greedy
,
implementation
,
math
2200
x1266
2030D
QED's Favorite Permutation
data structures
,
implementation
,
sortings
1700
x6078
2029I
Variance Challenge
flows
,
graphs
,
greedy
3400
x20
2029H
Message Spread
bitmasks
,
combinatorics
,
dp
3500
x27
2029G
Balanced Problem
data structures
,
dp
3000
x100
2029F
Palindrome Everywhere
constructive algorithms
,
graphs
,
greedy
2500
x553
2029E
Common Generator
brute force
,
constructive algorithms
,
math
,
number theory
2100
x2091
2029D
Cool Graph
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
1900
x2319
2029C
New Rating
binary search
,
data structures
,
dp
,
greedy
1700
x4300
2027E2
Bit Game (Hard Version)
bitmasks
,
dp
,
math
3100
x46
2027E1
Bit Game (Easy Version)
bitmasks
,
brute force
,
games
,
math
2800
x122
2027D2
The Endspeaker (Hard Version)
binary search
,
data structures
,
dp
,
greedy
,
implementation
,
two pointers
2200
x1215
2027D1
The Endspeaker (Easy Version)
binary search
,
dp
,
graphs
,
greedy
,
implementation
,
two pointers
1700
x4465
2027C
Add Zeros
brute force
,
data structures
,
dfs and similar
,
dp
,
graphs
,
greedy
1500
x8474
2026F
Bermart Ice Cream
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
implementation
,
trees
2700
x149
2026E
Best Subsequence
bitmasks
,
dfs and similar
,
flows
,
graph matchings
,
graphs
2500
x1040
2026D
Sums of Segments
binary search
,
data structures
,
dp
,
implementation
,
math
1900
x3813
2026C
Action Figures
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
implementation
1500
x8283
2025G
Variable Damage
data structures
,
flows
3000
x126
2025F
Choose Your Queries
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
2700
x652
2025E
Card Game
combinatorics
,
dp
,
fft
,
greedy
,
math
2200
x1708
2025D
Attribute Checks
brute force
,
data structures
,
dp
,
implementation
,
math
,
two pointers
1800
x5761
2023F
Hills and Pits
data structures
,
greedy
,
math
,
matrices
3500
x52
2023E
Tree of Life
dp
,
greedy
,
trees
3300
x79
2023D
Many Games
brute force
,
dp
,
greedy
,
math
,
probabilities
2900
x374
2023C
C+K+S
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
hashing
,
implementation
,
strings
2400
x910
2023B
Skipping
binary search
,
dp
,
graphs
,
shortest paths
1700
x4704
2022E2
Billetes MX (Hard Version)
binary search
,
combinatorics
,
data structures
,
dsu
,
graphs
2600
x348
2022E1
Billetes MX (Easy Version)
2-sat
,
binary search
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x394
2022D2
Asesino (Hard Version)
constructive algorithms
,
dp
,
interactive
2700
x491
2022D1
Asesino (Easy Version)
binary search
,
brute force
,
constructive algorithms
,
implementation
,
interactive
1900
x2735
2022C
Gerrymandering
dp
,
implementation
1800
x3752
2021E3
Digital Village (Extreme Version)
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
math
,
trees
2800
x412
2021E2
Digital Village (Hard Version)
data structures
,
dp
,
dsu
,
graphs
,
math
,
trees
2500
x794
2021E1
Digital Village (Easy Version)
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
,
greedy
,
implementation
,
math
,
trees
2300
x1456
2021D
Boss, Thirsty
dp
,
greedy
,
implementation
2500
x646
2021C2
Adjust The Presentation (Hard Version)
constructive algorithms
,
data structures
,
greedy
,
implementation
,
sortings
1900
x3511
2020F
Count Leaves
dp
,
math
,
number theory
2900
x191
2020E
Expected Power
bitmasks
,
dp
,
math
,
probabilities
2000
x2937
2020D
Connect the Dots
brute force
,
dp
,
dsu
,
graphs
,
math
,
trees
1800
x5600
2020C
Bitwise Balancing
bitmasks
,
hashing
,
implementation
,
math
,
schedules
,
ternary search
1400
x14233
2018F3
Speedbreaker Counting (Hard Version)
dp
,
greedy
,
math
3100
x172
2018F2
Speedbreaker Counting (Medium Version)
dp
,
greedy
,
math
3000
x167
2018F1
Speedbreaker Counting (Easy Version)
combinatorics
,
dp
,
greedy
,
math
2900
x206
2018E2
Complex Segments (Hard Version)
binary search
,
data structures
,
divide and conquer
,
dsu
,
greedy
,
math
,
sortings
3400
x110
2018E1
Complex Segments (Easy Version)
binary search
,
data structures
,
divide and conquer
,
dsu
,
greedy
,
math
,
sortings
3300
x146
2018D
Max Plus Min Plus Size
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
matrices
,
sortings
2200
x1566
2018C
Tree Pruning
brute force
,
dfs and similar
,
greedy
,
sortings
,
trees
1700
x6080
2018B
Speedbreaker
binary search
,
data structures
,
dp
,
greedy
,
implementation
,
two pointers
1900
x3887
2018A
Cards Partition
2-sat
,
brute force
,
greedy
,
implementation
,
math
1600
x10041
2014H
Robin Hood Archery
data structures
,
divide and conquer
,
greedy
,
hashing
1900
x3435
2014G
Milky Days
brute force
,
data structures
,
greedy
,
implementation
2200
x1256
2014F
Sheriff's Defense
dfs and similar
,
dp
,
greedy
,
trees
2000
x3495
2014E
Rendez-vous de Marian et Robin
dfs and similar
,
graphs
,
shortest paths
1800
x5528
2014D
Robert Hood and Mrs Hood
brute force
,
data structures
,
greedy
,
sortings
1400
x11921
2013F2
Game in Tree (Hard Version)
binary search
,
data structures
,
trees
3500
x102
2013F1
Game in Tree (Easy Version)
binary search
,
brute force
,
data structures
,
dp
,
games
,
greedy
,
implementation
,
trees
2700
x468
2013E
Prefix GCD
brute force
,
dp
,
greedy
,
math
,
number theory
2200
x3146
2013D
Minimize the Difference
binary search
,
greedy
1900
x5949
2013C
Password Cracking
constructive algorithms
,
interactive
,
strings
1400
x11512
2010C2
Message Transmission Error (hard version)
hashing
,
string suffix structures
,
strings
,
two pointers
1700
x3072
2010C1
Message Transmission Error (easy version)
brute force
,
strings
1400
x6925
2009G3
Yunli's Subarray Queries (extreme version)
data structures
,
dp
,
implementation
2700
x326
2009G2
Yunli's Subarray Queries (hard version)
binary search
,
data structures
,
dp
2200
x1195
2009G1
Yunli's Subarray Queries (easy version)
binary search
,
data structures
,
two pointers
1900
x3745
2009F
Firefly's Queries
bitmasks
,
data structures
,
flows
,
math
1700
x6428
2009E
Klee's SUPER DUPER LARGE Array!!!
binary search
,
math
,
ternary search
1400
x13035
2009D
Satyam and Counting
geometry
,
math
1400
x14154
2008H
Sakurako's Test
binary search
,
brute force
,
greedy
,
math
,
number theory
2100
x2869
2008G
Sakurako's Task
binary search
,
greedy
,
math
,
number theory
1800
x5097
2008F
Sakurako's Box
combinatorics
,
math
,
number theory
1400
x12411
2008E
Alternating String
brute force
,
data structures
,
dp
,
greedy
,
implementation
,
strings
1500
x9882
2007C
Dora and C++
math
,
number theory
1500
x12134
2006F
Dora's Paint
brute force
,
combinatorics
,
constructive algorithms
,
graphs
,
implementation
3500
x115
2006E
Iris's Full Binary Tree
brute force
,
data structures
,
dfs and similar
,
trees
3100
x218
2006D
Iris and Adjacent Products
data structures
,
greedy
,
implementation
,
math
2600
x669
2006C
Eri and Expanded Sets
data structures
,
divide and conquer
,
math
,
number theory
,
two pointers
2300
x1622
2006B
Iris and the Tree
brute force
,
data structures
,
dfs and similar
,
dsu
,
math
,
trees
1800
x3282
2006A
Iris and Game on the Tree
constructive algorithms
,
dfs and similar
,
games
,
graphs
,
greedy
,
trees
1700
x6696
←
1
2
3
...
69
70
→
User lists
Name