Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 952 (Div. 4)
32:40:26
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
1433E
Two Round Dances
combinatorics
,
math
1300
x18109
1426F
Number of Subsequences
combinatorics
,
dp
,
strings
2000
x5150
1425D
Danger of Mad Snakes
combinatorics
,
dp
,
math
2300
x810
1422C
Bargain
combinatorics
,
dp
,
math
1700
x8114
1420D
Rescue Nibel!
combinatorics
,
data structures
,
sortings
1800
x7392
1418E
Expected Damage
binary search
,
combinatorics
,
probabilities
2400
x1732
1408G
Clusterization Counting
combinatorics
,
dp
,
dsu
,
fft
,
graphs
,
trees
2700
x934
1403C
Chess Rush
*special problem
,
combinatorics
,
dp
,
implementation
,
math
3200
x44
1402C
Star Trek
*special problem
,
combinatorics
,
dfs and similar
,
dp
,
games
,
graphs
,
matrices
,
trees
2600
x200
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x909
1400D
Zigzags
brute force
,
combinatorics
,
data structures
,
math
,
two pointers
1900
x9859
1392H
ZS Shuffles Cards
combinatorics
,
dp
,
math
,
probabilities
3000
x680
1391C
Cyclic Permutations
combinatorics
,
dp
,
graphs
,
math
1500
x14601
1383E
Strange Operation
combinatorics
,
data structures
,
dp
2800
x756
1371E2
Asterism (Hard Version)
binary search
,
combinatorics
,
dp
,
math
,
number theory
,
sortings
2300
x2306
1371E1
Asterism (Easy Version)
binary search
,
brute force
,
combinatorics
,
math
,
number theory
,
sortings
1900
x4968
1366E
Two Arrays
binary search
,
brute force
,
combinatorics
,
constructive algorithms
,
dp
,
two pointers
2100
x3976
1365G
Secure Password
bitmasks
,
combinatorics
,
constructive algorithms
,
interactive
,
math
2800
x924
1359E
Modular Stability
combinatorics
,
math
,
number theory
2000
x5771
1342E
Placing Rooks
combinatorics
,
fft
,
math
2300
x2875
1336E2
Chiori and Doll Picking (hard version)
bitmasks
,
brute force
,
combinatorics
,
math
3500
x293
1336E1
Chiori and Doll Picking (easy version)
bitmasks
,
brute force
,
combinatorics
,
math
2700
x653
1334E
Divisor Paths
combinatorics
,
graphs
,
greedy
,
math
,
number theory
2200
x2648
1332E
Height All the Same
combinatorics
,
constructive algorithms
,
math
,
matrices
2100
x3621
1329B
Dreamoon Likes Sequences
bitmasks
,
combinatorics
,
math
1700
x6416
1328B
K-th Beautiful String
binary search
,
brute force
,
combinatorics
,
implementation
,
math
1300
x28281
1327F
AND Segments
bitmasks
,
combinatorics
,
data structures
,
dp
,
two pointers
2500
x1612
1327E
Count The Blocks
combinatorics
,
dp
,
math
1800
x8633
1326C
Permutation Partitions
combinatorics
,
greedy
,
math
1300
x15332
1312D
Count the Arrays
combinatorics
,
math
1700
x9000
1307E
Cow and Treats
binary search
,
combinatorics
,
dp
,
greedy
,
implementation
,
math
2500
x1123
1305C
Kuroni and Impossible Calculation
brute force
,
combinatorics
,
math
,
number theory
1600
x13803
1301C
Ayoub's function
binary search
,
combinatorics
,
greedy
,
math
,
strings
1700
x9083
1299D
Around the World
bitmasks
,
combinatorics
,
dfs and similar
,
dp
,
graphs
,
graphs
,
math
,
trees
3000
x422
1295F
Good Contest
combinatorics
,
dp
,
probabilities
2700
x1026
1293B
JOE is on TV!
combinatorics
,
greedy
,
math
1000
x20959
1292F
Nora's Toy Boxes
bitmasks
,
combinatorics
,
dp
3500
x309
1292C
Xenon's Attack on the Gangs
combinatorics
,
dfs and similar
,
dp
,
greedy
,
trees
2300
x1907
1288C
Two Arrays
combinatorics
,
dp
1600
x12468
1285F
Classical?
binary search
,
combinatorics
,
number theory
2900
x1076
1284E
New Year and Castle Construction
combinatorics
,
geometry
,
math
,
sortings
2500
x1251
1284C
New Year and Permutation
combinatorics
,
math
1600
x7862
1284B
New Year and Ascent Sequence
binary search
,
combinatorics
,
data structures
,
dp
,
implementation
,
sortings
1400
x10731
1280F
Intergalactic Sliding Puzzle
combinatorics
,
constructive algorithms
,
math
3400
x59
1279E
New Year Permutations
combinatorics
,
dp
2700
x356
1279D
Santa's Bot
combinatorics
,
math
,
probabilities
1700
x5957
1278F
Cards
combinatorics
,
dp
,
math
,
number theory
,
probabilities
2600
x1768
1276C
Beautiful Rectangle
brute force
,
combinatorics
,
constructive algorithms
,
data structures
,
greedy
,
math
2300
x1599
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x4816
1272C
Yet Another Broken Keyboard
combinatorics
,
dp
,
implementation
1200
x25549
1271E
Common Number
binary search
,
combinatorics
,
dp
,
math
2100
x3181
1267K
Key Storage
combinatorics
,
math
2100
x1871
1264D2
Beautiful Bracket Sequence (hard version)
combinatorics
,
probabilities
2900
x859
1264D1
Beautiful Bracket Sequence (easy version)
combinatorics
,
dp
,
probabilities
2600
x1188
1254E
Send Tree to Charlie
combinatorics
,
dfs and similar
,
dsu
,
trees
3300
x262
1251F
Red-White Fence
combinatorics
,
fft
2500
x803
1245F
Daniel and Spring Cleaning
bitmasks
,
brute force
,
combinatorics
,
dp
2300
x1738
1239A
Ivan the Fool and the Probability Theory
combinatorics
,
dp
,
math
1700
x7227
1238D
AB-string
binary search
,
combinatorics
,
dp
,
strings
1900
x5880
1237F
Balanced Domino Placements
combinatorics
,
dp
2600
x835
1236B
Alice and the List of Presents
combinatorics
,
math
1500
x10729
1228E
Another Filling the Grid
combinatorics
,
dp
,
math
2300
x2561
1227F2
Wrong Answer on test 233 (Hard Version)
combinatorics
,
math
2400
x1471
1221G
Graph And Numbers
bitmasks
,
brute force
,
combinatorics
,
dp
,
meet-in-the-middle
2900
x522
1215B
The Number of Products
combinatorics
,
dp
,
implementation
1400
x12347
1207D
Number Of Permutations
combinatorics
1800
x5944
1205E
Expected Value Again
combinatorics
,
strings
3100
x272
1204E
Natasha, Sasha and the Prefix Sums
combinatorics
,
dp
,
math
,
number theory
2300
x1600
1202D
Print a 1337-string...
combinatorics
,
constructive algorithms
,
math
,
strings
1900
x5035
1197E
Culture Code
binary search
,
combinatorics
,
data structures
,
dp
,
shortest paths
,
sortings
2300
x1610
1195D2
Submarine in the Rybinsk Sea (hard edition)
combinatorics
,
math
,
number theory
1800
x4561
1195D1
Submarine in the Rybinsk Sea (easy edition)
combinatorics
,
math
,
number theory
1500
x7790
1194F
Crossword Expert
combinatorics
,
dp
,
number theory
,
probabilities
,
two pointers
2400
x974
1188E
Problem from Red Panda
combinatorics
3300
x227
1185G2
Playlist for Polycarp (hard version)
combinatorics
,
dp
2600
x718
1185G1
Playlist for Polycarp (easy version)
bitmasks
,
combinatorics
,
dp
2100
x2632
1181C
Flag
brute force
,
combinatorics
,
dp
,
implementation
1900
x3012
1178F1
Short Colorful Strip
combinatorics
,
dfs and similar
,
dp
2200
x2064
1178C
Tiles
combinatorics
,
greedy
,
math
1300
x11485
1174E
Ehab and the Expected GCD Problem
combinatorics
,
dp
,
math
,
number theory
2500
x1357
1172B
Nauuo and Circle
combinatorics
,
dfs and similar
,
dp
,
trees
1900
x3783
1167F
Scalar Queries
combinatorics
,
data structures
,
math
,
sortings
2300
x1584
1167E
Range Deleting
binary search
,
combinatorics
,
data structures
,
two pointers
2100
x2559
1166A
Silent Classroom
combinatorics
,
greedy
900
x14021
1153F
Serval and Bonus Problem
combinatorics
,
dp
,
math
,
probabilities
2600
x764
1151F
Sonya and Informatics
combinatorics
,
dp
,
matrices
,
probabilities
2300
x1149
1151E
Number of Components
combinatorics
,
data structures
,
dp
,
math
2100
x3105
1140E
Palindrome-less Arrays
combinatorics
,
divide and conquer
,
dp
2200
x1897
1118F2
Tree Cutting (Hard Version)
combinatorics
,
dfs and similar
,
dp
,
trees
2700
x518
1111D
Destroy the Colony
combinatorics
,
dp
,
math
2600
x928
1109D
Sasha and Interesting Fact from Graph Theory
brute force
,
combinatorics
,
dp
,
math
,
trees
2400
x1273
1105C
Ayoub and Lost Array
combinatorics
,
dp
,
math
1500
x10181
1102E
Monotonic Renumeration
combinatorics
,
sortings
1700
x5716
1097G
Vladislav and a Great Legend
combinatorics
,
dp
,
trees
3000
x688
1097F
Alex and a TV Show
bitmasks
,
combinatorics
,
number theory
2500
x1217
1096E
The Top Scorer
combinatorics
,
dp
,
math
,
probabilities
2500
x917
1096B
Substring Removal
combinatorics
,
math
,
strings
1300
x10384
1091D
New Year and the Permutation Concatenation
combinatorics
,
dp
,
math
1700
x6625
1089I
Interval-Free Permutations
combinatorics
2600
x369
1085G
Beautiful Matrix
combinatorics
,
data structures
,
dp
2900
x508
←
1
2
3
4
5
6
7
→
User lists
Name