Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 954 (Div. 3)
6 days
→ 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
1984H
Tower Capturing
combinatorics
,
dp
,
geometry
3300
x101
1984G
Magic Trick II
constructive algorithms
,
implementation
,
sortings
3200
x127
1984F
Reconstruction
brute force
,
dp
,
math
2500
x635
1984E
Shuffle
dp
,
greedy
,
trees
2400
x986
1984D
''a'' String Problem
brute force
,
hashing
,
implementation
,
math
,
string suffix structures
,
strings
2000
x2389
1984C2
Magnitude (Hard Version)
combinatorics
,
dp
,
greedy
,
math
1700
x5483
1981F
Turtle and Paths on a Tree
data structures
,
dp
,
trees
3000
x165
1981E
Turtle and Intersected Segments
data structures
,
dsu
,
graphs
,
greedy
2600
x543
1981D
Turtle and Multiplication
constructive algorithms
,
dfs and similar
,
graphs
,
number theory
2400
x1115
1981C
Turtle and an Incomplete Sequence
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
1800
x3862
1980G
Yasya and the Mysterious Tree
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
strings
,
trees
2300
x820
1980F2
Field Division (hard version)
math
,
sortings
2400
x674
1980F1
Field Division (easy version)
data structures
,
math
,
sortings
1900
x2794
1980E
Permutation of Rows and Columns
constructive algorithms
,
data structures
,
greedy
,
hashing
,
implementation
,
math
,
matrices
,
sortings
1600
x7990
1980D
GCD-sequence
greedy
,
implementation
,
math
,
number theory
1400
x11128
1979F
Kostyanych's Theorem
brute force
,
constructive algorithms
,
graphs
,
interactive
2900
x182
1979E
Manhattan Triangle
binary search
,
constructive algorithms
,
data structures
,
geometry
,
implementation
,
two pointers
2400
x972
1979D
Fixing a Binary String
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
1800
x5012
1977E
Tensor
constructive algorithms
,
graphs
,
interactive
2600
x479
1977D
XORificator
bitmasks
,
brute force
,
greedy
,
hashing
2300
x1391
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x5396
1976F
Remove Bridges
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
2800
x378
1976E
Splittable Permutations
combinatorics
,
data structures
,
dfs and similar
,
greedy
,
math
,
trees
2500
x727
1976D
Invertible Bracket Sequences
binary search
,
combinatorics
,
data structures
,
divide and conquer
,
implementation
,
two pointers
2000
x3182
1976C
Job Interview
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1600
x8202
1975I
Mind Bloom
dp
3500
x42
1975H
378QAQ and Core
greedy
,
strings
3500
x62
1975G
Zimpha Fan Club
fft
,
greedy
,
math
,
strings
3000
x176
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x626
1975E
Chain Queries
binary search
,
data structures
,
dfs and similar
,
implementation
,
trees
2100
x1773
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1700
x4741
1974G
Money Buys Less Happiness Now
data structures
,
greedy
,
sortings
2000
x3458
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x2930
1974E
Money Buys Happiness
dp
1800
x6347
1974D
Ingenuity-2
constructive algorithms
,
greedy
,
implementation
1400
x12372
1974C
Beautiful Triple Pairs
combinatorics
,
data structures
1400
x13287
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x161
1973E
Cat, Fox and Swaps
graphs
,
math
,
sortings
2500
x651
1973D
Cat, Fox and Maximum Array Split
brute force
,
interactive
,
math
2400
x1623
1973C
Cat, Fox and Double Maximum
constructive algorithms
,
greedy
,
implementation
,
math
,
sortings
1700
x7008
1971H
±1
2-sat
,
dfs and similar
,
graphs
2100
x1369
1971G
XOUR
data structures
,
dsu
,
sortings
1700
x7744
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x8264
1971E
Find the Car
binary search
,
math
,
sortings
1500
x11699
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x246
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x421
1970G1
Min-Fund Prison (Easy)
dfs and similar
,
trees
1900
x965
1970F3
Playing Quidditch (Hard)
implementation
2300
x293
1970F2
Playing Quidditch (Medium)
implementation
2300
x284
1970F1
Playing Quidditch (Easy)
implementation
2300
x354
1970E3
Trails (Hard)
dp
,
matrices
2200
x474
1970E2
Trails (Medium)
dp
,
matrices
2000
x859
1970E1
Trails (Easy)
dp
1800
x1375
1970D3
Arithmancy (Hard)
interactive
3100
x83
1970D2
Arithmancy (Medium)
constructive algorithms
,
interactive
,
probabilities
,
strings
2600
x153
1970D1
Arithmancy (Easy)
brute force
,
constructive algorithms
,
interactive
,
strings
2100
x471
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x1013
1970C2
Game on Tree (Medium)
dfs and similar
,
dp
,
games
,
trees
1700
x1754
1970C1
Game on Tree (Easy)
games
1400
x2270
1970B3
Exact Neighbours (Hard)
constructive algorithms
2300
x359
1970B2
Exact Neighbours (Medium)
constructive algorithms
2100
x562
1970B1
Exact Neighbours (Easy)
constructive algorithms
1900
x808
1970A3
Balanced Unshuffle (Hard)
constructive algorithms
,
trees
2400
x372
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x371
1969F
Card Pairing
dp
,
greedy
,
hashing
,
implementation
3000
x166
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1091
1969D
Shop Game
data structures
,
greedy
,
math
,
sortings
1900
x3806
1969C
Minimizing the Sum
dp
,
implementation
1700
x7055
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1601
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x3567
1968F
Equal XOR Segments
binary search
,
data structures
1800
x4581
1968E
Cells Arrangement
constructive algorithms
1600
x8916
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x46
1967E2
Again Counting Arrays (Hard Version)
combinatorics
,
dp
,
math
3500
x78
1967E1
Again Counting Arrays (Easy Version)
combinatorics
,
dp
,
fft
,
math
3100
x159
1967D
Long Way to be Non-decreasing
binary search
,
dfs and similar
,
graphs
,
implementation
,
shortest paths
,
two pointers
2800
x517
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1429
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x3420
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x11383
1967A
Permutation Counting
binary search
,
greedy
,
implementation
,
math
,
sortings
1400
x10578
1965F
Conference
data structures
,
flows
3300
x120
1965E
Connected Cubes
constructive algorithms
,
games
3100
x202
1965D
Missing Subarray Sum
constructive algorithms
2900
x307
1965C
Folding Strip
constructive algorithms
,
greedy
,
strings
2300
x1584
1965B
Missing Subsequence Sum
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1800
x5698
1965A
Everything Nim
games
,
greedy
,
math
,
sortings
1400
x11578
1958J
Necromancer
*special problem
3200
x19
1958I
Equal Trees
*special problem
,
graphs
,
meet-in-the-middle
3100
x25
1958H
Composite Spells
*special problem
,
dp
2600
x67
1958G
Observation Towers
*special problem
2400
x95
1958F
Narrow Paths
*special problem
,
combinatorics
2000
x161
1958E
Yet Another Permutation Constructive
*special problem
,
constructive algorithms
1900
x216
1958D
Staircase
*special problem
1600
x396
1958C
Firewood
*special problem
1500
x538
1958B
Clock in the Pool
*special problem
,
math
1400
x701
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x324
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x381
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1080
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x3941
1957C
How Does the Rook Move?
combinatorics
,
dp
,
math
1600
x8378
←
1
2
3
...
67
68
→
User lists
Name