Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 957 (Div. 3)
36:56:47
Register now »
→ 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
1989E
Distance to Different
combinatorics
,
dp
,
math
2300
x1288
1989D
Smithing Skill
brute force
,
data structures
,
dp
,
greedy
,
math
,
sortings
,
two pointers
1900
x4322
1987G2
Spinning Round (Hard Version)
divide and conquer
,
dp
,
trees
3500
x65
1987G1
Spinning Round (Easy Version)
divide and conquer
,
dp
,
trees
2900
x165
1987F2
Interesting Problem (Hard Version)
dp
2600
x701
1987F1
Interesting Problem (Easy Version)
dp
2500
x801
1987D
World is Mine
dp
,
games
1800
x5298
1987C
Basil's Garden
dp
,
greedy
1200
x13478
1986D
Mathematical Problem
brute force
,
dp
,
greedy
,
implementation
,
math
,
two pointers
1400
x12296
1985H2
Maximize the Largest Component (Hard Version)
data structures
,
dfs and similar
,
dp
,
dsu
,
implementation
2200
x1172
1984H
Tower Capturing
combinatorics
,
dp
,
geometry
3300
x135
1984F
Reconstruction
brute force
,
dp
,
math
2500
x759
1984E
Shuffle
dp
,
greedy
,
trees
2400
x1154
1984C2
Magnitude (Hard Version)
combinatorics
,
dp
,
greedy
,
math
1700
x6239
1984C1
Magnitude (Easy Version)
dp
,
greedy
,
math
1300
x13910
1983G
Your Loss
bitmasks
,
brute force
,
dp
,
trees
x101
1983C
Have Your Cake and Eat It Too
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
implementation
x9073
1982E
Number of k-good subarrays
bitmasks
,
brute force
,
combinatorics
,
divide and conquer
,
dp
,
math
,
meet-in-the-middle
2300
x1210
1982C
Boring Day
binary search
,
data structures
,
dp
,
greedy
,
two pointers
1200
x14185
1981F
Turtle and Paths on a Tree
data structures
,
dp
,
trees
3000
x195
1979D
Fixing a Binary String
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
1800
x5623
1978E
Computing Machine
brute force
,
data structures
,
dp
,
greedy
,
implementation
2000
x3007
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x5837
1976F
Remove Bridges
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
2800
x433
1976C
Job Interview
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1600
x8874
1975I
Mind Bloom
dp
3500
x59
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x689
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1700
x5108
1974E
Money Buys Happiness
dp
1800
x6807
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x176
1973A
Chess For Three
brute force
,
dp
,
implementation
,
math
900
x22121
1971D
Binary Cut
dp
,
greedy
,
implementation
,
sortings
,
strings
1100
x23269
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x259
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x457
1970E3
Trails (Hard)
dp
,
matrices
2200
x544
1970E2
Trails (Medium)
dp
,
matrices
2000
x945
1970E1
Trails (Easy)
dp
1800
x1571
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x1157
1970C2
Game on Tree (Medium)
dfs and similar
,
dp
,
games
,
trees
1700
x1981
1969F
Card Pairing
dp
,
greedy
,
hashing
,
implementation
3000
x203
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1169
1969C
Minimizing the Sum
dp
,
implementation
1700
x7520
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1690
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x3739
1967E2
Again Counting Arrays (Hard Version)
combinatorics
,
dp
,
math
3500
x83
1967E1
Again Counting Arrays (Easy Version)
combinatorics
,
dp
,
fft
,
math
3100
x167
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1484
1958H
Composite Spells
*special problem
,
dp
2600
x68
1958A
1-3-5
*special problem
,
dp
1100
x1381
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1118
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x4074
1957C
How Does the Rook Move?
combinatorics
,
dp
,
math
1600
x8666
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3550
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1140
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3992
1955F
Unfair Game
dp
,
games
,
greedy
,
math
,
schedules
1800
x6467
1954F
Unique Strings
combinatorics
,
dp
,
math
3100
x234
1954D
Colored Balls
combinatorics
,
dp
,
math
,
sortings
1800
x5491
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x233
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3907
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x21720
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
1900
x1432
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x96
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x15515
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x21635
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x834
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2249
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x9849
1946B
Maximum Sum
dp
,
greedy
,
math
1100
x19158
1945D
Seraphim the Owl
dp
,
greedy
1300
x13261
1943F
Minimum Hamming Distance
dp
3500
x92
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x653
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1340
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x77
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x411
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2605
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x8785
1941D
Rudolf and the Ball Game
dfs and similar
,
dp
,
implementation
1200
x17453
1941C
Rudolf and the Ugly String
dp
,
greedy
,
strings
900
x31433
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x27951
1939D
Big Persimmon
*special problem
,
dp
,
games
x84
1939A
Draw Polygon Lines
*special problem
,
constructive algorithms
,
dp
,
geometry
,
interactive
x20
1937B
Binary Path
dp
,
greedy
,
implementation
1300
x13962
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7562
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x17668
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2321
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3698
1932A
Thorns and Coins
dp
,
greedy
,
implementation
800
x28038
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x318
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x1047
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2475
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3866
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1578
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4391
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1608
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1558
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x19560
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x3254
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1584
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x10957
←
1
2
3
...
20
21
→
User lists
Name