Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 937 (Div. 4)
02:06:45
Register now »
→ Filter Problems
Difficulty:
—
combinatorics
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
1037F
Maximum Reduction
combinatorics
,
data structures
,
math
2500
x926
1558D
Top-Notch Insertions
combinatorics
,
data structures
2600
x919
1007B
Pave the Parallelepiped
bitmasks
,
brute force
,
combinatorics
,
math
,
number theory
2400
x917
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x916
285E
Positions in Permutations
combinatorics
,
dp
,
math
2600
x915
1670F
Jee, You See?
bitmasks
,
combinatorics
,
dp
2400
x908
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x908
1111D
Destroy the Colony
combinatorics
,
dp
,
math
2600
x906
1817C
Similar Polynomials
combinatorics
,
math
2400
x902
1536F
Omkar and Akmar
chinese remainder theorem
,
combinatorics
,
constructive algorithms
,
fft
,
games
,
geometry
,
math
,
meet-in-the-middle
,
string suffix structures
2600
x901
1365G
Secure Password
bitmasks
,
combinatorics
,
constructive algorithms
,
interactive
,
math
2800
x896
1691F
K-Set Tree
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2500
x895
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x880
1737E
Ela Goes Hiking
combinatorics
,
dp
,
math
,
probabilities
2500
x879
1948F
Rare Coins
combinatorics
,
math
,
probabilities
2500
x875
1701F
Points
combinatorics
,
data structures
,
implementation
,
math
,
matrices
2500
x875
1096E
The Top Scorer
combinatorics
,
dp
,
math
,
probabilities
2500
x855
1574E
Coloring
combinatorics
,
constructive algorithms
,
implementation
,
math
2500
x854
1912B
Blueprint for Seating
combinatorics
,
divide and conquer
,
math
2100
x851
1620G
Subsequences Galore
bitmasks
,
combinatorics
,
dp
2400
x847
140E
New Year Garland
combinatorics
,
dp
2600
x846
91C
Ski Base
combinatorics
,
dsu
,
graphs
2300
x845
1034C
Region Separation
combinatorics
,
dp
,
number theory
,
trees
2700
x839
1466G
Song of the Sirens
combinatorics
,
divide and conquer
,
hashing
,
math
,
string suffix structures
,
strings
2600
x836
755G
PolandBall and Many Other Balls
combinatorics
,
divide and conquer
,
dp
,
fft
,
math
,
number theory
3200
x832
1264D2
Beautiful Bracket Sequence (hard version)
combinatorics
,
probabilities
2900
x831
1806D
DSU Master
combinatorics
,
dp
,
dsu
,
math
2500
x827
1750F
Majority
combinatorics
,
dp
,
math
,
strings
2700
x819
1842G
Tenzing and Random Operations
combinatorics
,
dp
,
math
,
probabilities
2800
x818
891E
Lust
combinatorics
,
math
,
matrices
3000
x818
1237F
Balanced Domino Placements
combinatorics
,
dp
2600
x810
26C
Parquet
combinatorics
,
constructive algorithms
,
greedy
,
implementation
2000
x810
1612G
Max Sum Array
combinatorics
,
constructive algorithms
,
greedy
,
sortings
2500
x808
1516E
Baby Ehab Plays with Permutations
combinatorics
,
dp
,
math
2500
x804
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x801
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x798
1542E2
Abnormal Permutation Pairs (hard version)
combinatorics
,
dp
,
fft
,
math
2700
x793
722E
Research Rover
combinatorics
,
dp
2900
x793
1425D
Danger of Mad Snakes
combinatorics
,
dp
,
math
2300
x791
1251F
Red-White Fence
combinatorics
,
fft
2500
x791
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x790
1876D
Lexichromatography
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
two pointers
2500
x789
830D
Singer House
combinatorics
,
dp
,
graphs
,
trees
2800
x789
293B
Distinct Paths
brute force
,
combinatorics
2700
x770
1758E
Tick, Tock
combinatorics
,
dfs and similar
,
dsu
,
graphs
2500
x764
666C
Codeword
combinatorics
,
strings
2500
x755
645F
Cowslip Collections
combinatorics
,
math
,
number theory
2500
x753
1616H
Keep XOR Low
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
,
dp
,
math
3000
x749
325E
The Red Button
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
greedy
2800
x741
1919E
Counting Prefixes
combinatorics
,
constructive algorithms
,
dp
,
implementation
,
math
2600
x740
1153F
Serval and Bonus Problem
combinatorics
,
dp
,
math
,
probabilities
2600
x740
1740F
Conditional Mix
combinatorics
,
dp
,
math
2600
x739
1383E
Strange Operation
combinatorics
,
data structures
,
dp
2800
x737
26D
Tickets
combinatorics
,
math
,
probabilities
2400
x737
908E
New Year and Entity Enumeration
bitmasks
,
combinatorics
,
dp
,
math
2500
x731
837F
Prefix Sums
binary search
,
brute force
,
combinatorics
,
math
,
matrices
2400
x726
1530F
Bingo
bitmasks
,
combinatorics
,
dp
,
math
,
probabilities
2600
x724
235E
Number Challenge
combinatorics
,
dp
,
implementation
,
math
,
number theory
2600
x724
809C
Find a car
combinatorics
,
divide and conquer
,
dp
2600
x722
1615F
LEGOndary Grandmaster
combinatorics
,
dp
,
math
2800
x721
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x717
501E
Misha and Palindrome Degree
binary search
,
combinatorics
,
implementation
2500
x715
323A
Black-and-White Cube
combinatorics
,
constructive algorithms
1600
x711
1781F
Bracket Insertion
combinatorics
,
dp
,
math
,
trees
2700
x709
283E
Cow Tennis Tournament
combinatorics
,
data structures
,
math
2800
x706
111D
Petya and Coloring
combinatorics
,
dp
2300
x705
1185G2
Playlist for Polycarp (hard version)
combinatorics
,
dp
2600
x698
1626F
A Random Code Problem
combinatorics
,
dp
,
math
,
number theory
,
probabilities
2800
x693
1821F
Timber
combinatorics
,
dp
,
fft
,
math
2600
x684
1799G
Count Voting
combinatorics
,
dp
,
math
2600
x684
1662N
Drone Photo
combinatorics
,
math
,
sortings
x676
288D
Polo the Penguin and Trees
combinatorics
,
dfs and similar
,
trees
2400
x667
506E
Mr. Kitayuta's Gift
combinatorics
,
dp
,
matrices
,
strings
3000
x665
1866M
Mighty Rock Tower
brute force
,
combinatorics
,
dp
,
math
,
probabilities
2400
x660
1792F1
Graph Coloring (easy version)
combinatorics
,
dp
,
graphs
2700
x655
1392H
ZS Shuffles Cards
combinatorics
,
dp
,
math
,
probabilities
3000
x655
1673E
Power or XOR?
bitmasks
,
combinatorics
,
math
,
number theory
2500
x650
40E
Number Table
combinatorics
2500
x649
1731F
Function Sum
brute force
,
combinatorics
,
dp
,
fft
,
math
2500
x647
1097G
Vladislav and a Great Legend
combinatorics
,
dp
,
trees
3000
x645
814E
An unavoidable detour for home
combinatorics
,
dp
,
graphs
,
shortest paths
2600
x636
295D
Greg and Caves
combinatorics
,
dp
2400
x632
1336E1
Chiori and Doll Picking (easy version)
bitmasks
,
brute force
,
combinatorics
,
math
2700
x631
1613F
Tree Coloring
combinatorics
,
divide and conquer
,
fft
2600
x630
1808E2
Minibuses on Venus (medium version)
combinatorics
,
divide and conquer
,
dp
,
matrices
2500
x625
1486F
Pairs of Paths
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2600
x616
1667E
Centroid Probabilities
combinatorics
,
dp
,
fft
,
math
3000
x609
1895F
Fancy Arrays
combinatorics
,
dp
,
math
,
matrices
2600
x604
1906J
Count BFS Graph
combinatorics
,
dp
2100
x600
1730E
Maximums and Minimums
combinatorics
,
data structures
,
divide and conquer
,
number theory
2700
x596
815D
Karen and Cards
binary search
,
combinatorics
,
data structures
,
geometry
2800
x588
123C
Brackets
combinatorics
,
dp
,
greedy
2300
x588
1503E
2-Coloring
combinatorics
,
dp
,
math
3100
x584
1762E
Tree Sum
combinatorics
,
math
,
trees
2600
x582
1770F
Koxia and Sequence
bitmasks
,
combinatorics
,
dp
,
math
,
number theory
3100
x579
1545C
AquaMoon and Permutations
2-sat
,
brute force
,
combinatorics
,
constructive algorithms
,
graph matchings
,
graphs
2800
x574
1906H
Twin Friends
combinatorics
,
dp
2200
x573
392C
Yet Another Number Sequence
combinatorics
,
math
,
matrices
x567
1487G
String Counting
combinatorics
,
dp
,
fft
,
math
2700
x566
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x565
←
1
2
3
4
5
6
7
→
User lists
Name