Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 953 (Div. 2)
15:27:07
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
dp
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
1984H
Tower Capturing
combinatorics
,
dp
,
geometry
3300
x92
1984F
Reconstruction
brute force
,
dp
,
math
2500
x606
1984E
Shuffle
dp
,
greedy
,
trees
2400
x944
1981F
Turtle and Paths on a Tree
data structures
,
dp
,
trees
3000
x154
1976F
Remove Bridges
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
2800
x371
1975I
Mind Bloom
dp
3500
x41
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x615
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x157
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x242
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x414
1970E3
Trails (Hard)
dp
,
matrices
2200
x472
1970E2
Trails (Medium)
dp
,
matrices
2000
x847
1969F
Card Pairing
dp
,
greedy
,
hashing
,
implementation
3000
x166
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1085
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1588
1967E2
Again Counting Arrays (Hard Version)
combinatorics
,
dp
,
math
3500
x77
1967E1
Again Counting Arrays (Easy Version)
combinatorics
,
dp
,
fft
,
math
3100
x156
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1427
1958H
Composite Spells
*special problem
,
dp
2600
x66
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1079
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3446
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1098
1954F
Unique Strings
combinatorics
,
dp
,
math
3100
x226
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x226
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x91
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x810
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2198
1943F
Minimum Hamming Distance
dp
3500
x88
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x636
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1304
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x72
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x395
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2537
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2271
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x306
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x1029
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2436
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1550
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1592
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1530
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1549
1924F
Anti-Proxy Attendance
constructive algorithms
,
dp
,
interactive
,
ternary search
3500
x134
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x797
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3328
1922F
Replace on Segment
dp
,
graph matchings
2500
x1189
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1163
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2432
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x757
1919E
Counting Prefixes
combinatorics
,
constructive algorithms
,
dp
,
implementation
,
math
2600
x790
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x915
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1691
1916H2
Matrix Rank (Hard Version)
combinatorics
,
dp
,
math
,
matrices
,
string suffix structures
2700
x508
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x589
1916G
Optimizations From Chelsu
divide and conquer
,
dp
,
number theory
,
trees
3500
x140
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1246
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1709
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2788
1910I
Inverse Problem
*special problem
,
combinatorics
,
dp
2700
x45
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x181
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x847
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1666
1906J
Count BFS Graph
combinatorics
,
dp
2100
x675
1906H
Twin Friends
combinatorics
,
dp
2200
x625
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x877
1903D2
Maximum And Queries (hard version)
bitmasks
,
divide and conquer
,
dp
,
greedy
2500
x720
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1410
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1874
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3822
1896H2
Cyclic Hamming (Hard Version)
brute force
,
dp
,
fft
,
math
,
number theory
3500
x96
1896H1
Cyclic Hamming (Easy Version)
brute force
,
divide and conquer
,
dp
,
fft
,
math
,
number theory
3400
x84
1895G
Two Characters, Two Colors
binary search
,
data structures
,
dp
,
flows
,
greedy
3100
x179
1895F
Fancy Arrays
combinatorics
,
dp
,
math
,
matrices
2600
x647
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1472
1893E
Cacti Symphony
combinatorics
,
dfs and similar
,
dp
,
graphs
3500
x182
1889F
Doremy's Average Tree
data structures
,
dp
,
greedy
,
trees
3500
x70
1889C2
Doremy's Drying Plan (Hard Version)
data structures
,
dp
2600
x906
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x3074
1886E
I Wanna be the Team Leader
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
,
sortings
,
two pointers
2400
x1360
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2929
1876E
Ball-Stackable
constructive algorithms
,
data structures
,
dp
,
trees
3300
x258
1874G
Jellyfish and Inscryption
dp
3500
x77
1874F
Jellyfish and OEIS
dp
3500
x184
1874E
Jellyfish and Hack
dp
,
math
3000
x281
1874D
Jellyfish and Miku
divide and conquer
,
dp
,
math
,
probabilities
2800
x666
1874C
Jellyfish and EVA
dp
,
graphs
,
greedy
,
math
,
probabilities
2300
x1534
1874B
Jellyfish and Math
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x1085
1870E
Another MEX Problem
bitmasks
,
brute force
,
dp
,
shortest paths
2300
x2237
1868E
Min-Sum-Max
constructive algorithms
,
dp
,
greedy
3500
x74
1868C
Travel Plan
combinatorics
,
dp
,
implementation
,
math
,
trees
2400
x1098
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2299
1866M
Mighty Rock Tower
brute force
,
combinatorics
,
dp
,
math
,
probabilities
2400
x700
1866K
Keen Tree Calculation
binary search
,
data structures
,
dp
,
geometry
,
graphs
,
implementation
,
trees
2500
x415
1866J
Jackets and Packets
dp
2800
x271
1866I
Imagination Castle
dp
,
games
,
two pointers
2300
x683
1866G
Grouped Carriages
binary search
,
data structures
,
dp
,
flows
,
greedy
2100
x1538
1866E
Elevators of Tamem
dp
2700
x279
1866D
Digital Wallet
dp
,
greedy
2300
x1213
1864H
Asterism Stream
dp
,
math
,
matrices
3200
x274
1863I
Redundant Routes
constructive algorithms
,
dp
,
trees
3500
x71
1863H
Goldberg Machine 3
dp
,
trees
3500
x73
←
1
2
3
...
13
14
→
User lists
Name