Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 987 (Div. 2)
07:52:30
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
1792C
Min Max Sort
binary search
,
brute force
,
greedy
,
math
,
two pointers
1500
x14284
1791G2
Teleporters (Hard Version)
binary search
,
greedy
,
sortings
1900
x4836
1791F
Range Update Point Query
binary search
,
brute force
,
data structures
1500
x12611
1790E
Vlad and a Pair of Numbers
bitmasks
,
constructive algorithms
1400
x15317
1789C
Serval and Toxel's Arrays
combinatorics
,
dp
,
implementation
,
math
1500
x8651
1788C
Matching Numbers
constructive algorithms
,
greedy
,
math
1300
x17442
1787D
Game on Axis
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
implementation
1900
x3426
1787C
Remove the Bracket
dp
,
greedy
,
math
1600
x7157
1786B
Cake Assembly Line
brute force
,
sortings
1300
x9038
1784B
Letter Exchange
constructive algorithms
1900
x3358
1783C
Yet Another Tournament
binary search
,
greedy
,
sortings
1700
x9403
1781D
Many Perfect Squares
brute force
,
math
,
number theory
1800
x5552
1781C
Equal Frequencies
brute force
,
constructive algorithms
,
greedy
,
implementation
,
sortings
,
strings
1600
x7721
1780D
Bit Guessing Game
binary search
,
bitmasks
,
constructive algorithms
,
interactive
1800
x5004
1779D
Boris and His Amazing Haircut
constructive algorithms
,
data structures
,
dp
,
dsu
,
greedy
,
sortings
1700
x7979
1779C
Least Prefix Sum
data structures
,
greedy
1600
x12493
1778C
Flexible String
bitmasks
,
brute force
,
strings
1600
x8348
1778B
The Forbidden Permutation
greedy
,
math
1300
x13384
1777D
Score of a Tree
bitmasks
,
combinatorics
,
dfs and similar
,
dp
,
math
,
probabilities
,
trees
1900
x3548
1777C
Quiz Master
binary search
,
math
,
number theory
,
sortings
,
two pointers
1700
x8726
1776L
Controllers
binary search
,
math
1500
x6207
1776H
Beppa and SwerChat
two pointers
1300
x6493
1776F
Train Splitting
constructive algorithms
,
graphs
,
greedy
1700
x3515
1775D
Friendly Spiders
dfs and similar
,
graphs
,
math
,
number theory
,
shortest paths
1800
x6362
1775C
Interesting Sequence
bitmasks
,
math
1600
x10630
1775B
Gardener and the Array
bitmasks
,
constructive algorithms
1300
x14126
1774E
Two Chess Pieces
dfs and similar
,
dp
,
greedy
,
trees
1900
x3524
1774D
Same Count One
brute force
,
constructive algorithms
,
greedy
,
implementation
,
two pointers
1600
x7961
1774C
Ice and Fire
constructive algorithms
,
dp
,
greedy
1300
x12104
1774B
Coloring
constructive algorithms
,
greedy
,
math
1500
x12390
1773K
King's Puzzle
constructive algorithms
1900
x1438
1773E
Easy Assembly
greedy
,
sortings
1400
x4948
1773A
Amazing Trick
constructive algorithms
,
graph matchings
,
math
,
probabilities
1900
x1565
1772E
Permutation Game
games
1700
x6837
1772D
Absolute Sorting
constructive algorithms
,
math
1400
x16104
1771C
Hossam and Trainees
greedy
,
math
,
number theory
1600
x9806
1771B
Hossam and Friends
binary search
,
constructive algorithms
,
dp
,
two pointers
1400
x14682
1770C
Koxia and Number Theory
brute force
,
chinese remainder theorem
,
math
,
number theory
1700
x8654
1769D1
Игра в Девятку I
*special problem
,
brute force
,
dp
1800
x384
1769C2
Подкрутка II
*special problem
,
dp
1300
x974
1769B2
Копирование файлов II
*special problem
,
binary search
,
brute force
,
math
1400
x883
1768D
Lucky Permutation
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
1800
x7249
1768C
Elemental Decompress
constructive algorithms
,
greedy
,
implementation
,
sortings
1300
x14297
1767D
Playoff
combinatorics
,
constructive algorithms
,
dp
,
greedy
,
math
1500
x10004
1766D
Lucky Chains
math
,
number theory
1600
x9006
1766C
Hamiltonian Wall
dp
,
implementation
1300
x13727
1765N
Number Reduction
greedy
1500
x4906
1765K
Torus Path
greedy
,
math
1500
x5900
1765D
Watch the Videos
binary search
,
constructive algorithms
,
two pointers
1700
x4228
1764C
Doremy's City Construction
graphs
,
greedy
1400
x9470
1762C
Binary Strings are Fun
combinatorics
,
math
1400
x9244
1761C
Set Construction
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
1400
x9649
1760G
SlavicG's Favorite Problem
bitmasks
,
dfs and similar
,
graphs
1700
x7440
1760F
Quests
binary search
,
greedy
,
sortings
1500
x12395
1759G
Restore the Permutation
binary search
,
constructive algorithms
,
data structures
,
greedy
,
math
1900
x4526
1759F
All Possible Digits
binary search
,
data structures
,
greedy
,
math
,
number theory
1800
x3961
1759E
The Humanoid
brute force
,
dp
,
sortings
1500
x10942
1759D
Make It Round
brute force
,
number theory
1400
x13852
1758D
Range = √Sum
binary search
,
brute force
,
constructive algorithms
,
math
,
two pointers
1800
x7388
1758C
Almost All Multiples
greedy
,
number theory
1400
x13752
1753B
Factorial Divisibility
math
,
number theory
1600
x12972
1753A2
Make Nonzero Sum (hard version)
constructive algorithms
,
dp
,
greedy
1500
x10467
1753A1
Make Nonzero Sum (easy version)
constructive algorithms
,
dp
,
greedy
1300
x15061
1750D
Count GCD
combinatorics
,
math
,
number theory
1800
x5980
1750C
Complementary XOR
constructive algorithms
,
implementation
1400
x9598
1749D
Counting Arrays
combinatorics
,
dp
,
math
,
number theory
1900
x5621
1749C
Number Game
binary search
,
data structures
,
games
,
greedy
,
implementation
1400
x14076
1748C
Zero-Sum Prefixes
brute force
,
data structures
,
dp
,
greedy
,
implementation
1600
x11231
1748B
Diverse Substrings
brute force
,
implementation
,
strings
1400
x15129
1747D
Yet Another Problem
binary search
,
bitmasks
,
constructive algorithms
,
data structures
1900
x4717
1746D
Paths on the Tree
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1900
x4653
1746C
Permutation Operations
constructive algorithms
,
greedy
,
implementation
,
math
1300
x12889
1744E2
Divisible Numbers (hard version)
brute force
,
math
,
number theory
1900
x5664
1744E1
Divisible Numbers (easy version)
brute force
,
math
,
number theory
1500
x10998
1743D
Problem with Random Tests
brute force
,
dp
,
greedy
,
probabilities
1700
x7655
1742G
Orray
bitmasks
,
brute force
,
greedy
,
math
,
sortings
1500
x10893
1742F
Smaller
constructive algorithms
,
greedy
,
strings
1500
x11857
1741E
Sending a Sequence Over the Network
dp
1600
x12528
1741D
Masha and a Beautiful Tree
dfs and similar
,
divide and conquer
,
graphs
,
sortings
,
trees
1300
x15374
1740E
Hanging Hearts
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
greedy
,
trees
1800
x4376
1740D
Knowledge Cards
constructive algorithms
,
data structures
1500
x8162
1740C
Bricks and Bags
constructive algorithms
,
games
,
greedy
,
sortings
1400
x11113
1739D
Reset K Edges
binary search
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
trees
1900
x5224
1739C
Card Game
combinatorics
,
constructive algorithms
,
dp
,
games
1500
x9160
1738D
Permutation Addicts
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
trees
1900
x3456
1738C
Even Number Addicts
dp
,
games
,
greedy
,
math
1500
x11287
1737C
Ela and Crickets
constructive algorithms
,
games
,
implementation
,
math
1500
x5797
1737B
Ela's Fitness and the Luxury Number
binary search
,
implementation
,
math
1300
x9450
1736C1
Good Subarrays (Easy Version)
binary search
,
data structures
,
schedules
,
two pointers
1300
x15183
1735D
Meta-set
brute force
,
combinatorics
,
data structures
,
hashing
,
math
1700
x5551
1735C
Phase Shift
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
strings
1400
x9967
1734D
Slime Escape
data structures
,
dp
,
greedy
,
two pointers
1800
x6359
1733D1
Zero-One (Easy Version)
constructive algorithms
,
greedy
,
math
1400
x13593
1733C
Parity Shuffle Sorting
constructive algorithms
,
sortings
1300
x15777
1732D1
Balance (Easy version)
brute force
,
data structures
,
implementation
,
number theory
1500
x8754
1732C1
Sheikh (Easy version)
binary search
,
bitmasks
,
greedy
,
two pointers
1800
x5980
1731D
Valiant's New Map
binary search
,
brute force
,
data structures
,
dp
,
two pointers
1700
x7235
1731C
Even Subarrays
bitmasks
,
brute force
,
hashing
,
math
,
number theory
1700
x9698
1730B
Meeting on the Line
binary search
,
geometry
,
greedy
,
implementation
,
math
,
ternary search
1600
x12949
1729F
Kirei and the Linear Function
hashing
,
math
1900
x4184
←
1
2
3
4
5
6
7
...
31
32
→
User lists
Name