Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Codeforces functionality may be limited from
June 18, 19:00 (UTC)
to
June 19, 3:00 AM (UTC)
due to technical maintenance. Polygon will work as usual.
×
→ Pay attention
Before contest
Codeforces Round 954 (Div. 3)
5 days
→ Filter Problems
Difficulty:
—
math
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
1423J
Bubble Cup hypothesis
bitmasks
,
constructive algorithms
,
dp
,
math
2400
x740
1423F
Coins
math
2700
x364
1422F
Boring Queries
data structures
,
math
,
number theory
2700
x975
1422C
Bargain
combinatorics
,
dp
,
math
1700
x8124
1422B
Nice Matrix
greedy
,
implementation
,
math
1300
x14208
1422A
Fence
geometry
,
math
800
x20683
1421D
Hexagons
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
,
shortest paths
1900
x4065
1421A
XORwice
bitmasks
,
greedy
,
math
800
x27662
1420B
Rock and Lever
bitmasks
,
math
1200
x24257
1420A
Cubes Sorting
math
,
sortings
900
x22984
1419E
Decryption
constructive algorithms
,
implementation
,
math
,
number theory
2100
x3157
1419C
Killjoy
greedy
,
implementation
,
math
1500
x15042
1419B
Stairs
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
1200
x16000
1418F
Equal Product
data structures
,
math
,
number theory
,
two pointers
3000
x358
1418A
Buying Torches
math
1000
x21881
1417B
Two Arrays
greedy
,
math
,
sortings
1100
x14362
1417A
Copy-paste
greedy
,
math
800
x18077
1416C
XOR Inverse
bitmasks
,
data structures
,
divide and conquer
,
dp
,
greedy
,
math
,
sortings
,
strings
,
trees
2000
x4224
1416B
Make Them Equal
constructive algorithms
,
greedy
,
math
2000
x5937
1415E
New Game Plus!
constructive algorithms
,
greedy
,
math
2200
x2604
1415A
Prison Break
brute force
,
math
800
x14951
1413E
Solo mid Oracle
greedy
,
math
,
ternary search
2100
x1938
1413A
Finding Sasuke
constructive algorithms
,
math
800
x14624
1411G
No Game No Life
bitmasks
,
games
,
math
,
matrices
2700
x588
1411F
The Thorny Path
greedy
,
math
3000
x321
1411E
Poman Numbers
bitmasks
,
greedy
,
math
,
strings
2300
x1564
1409D
Decrease the Sum of Digits
greedy
,
math
1500
x18851
1409C
Yet Another Array Restoration
brute force
,
math
,
number theory
1200
x22882
1409B
Minimum Product
brute force
,
greedy
,
math
1100
x28413
1409A
Yet Another Two Integers Problem
greedy
,
math
800
x63477
1408I
Bitwise Magic
dp
,
math
3200
x167
1408C
Discrete Acceleration
binary search
,
dp
,
implementation
,
math
,
two pointers
1500
x8687
1408B
Arrays Sum
constructive algorithms
,
greedy
,
math
1400
x9792
1407C
Chocolate Bunny
constructive algorithms
,
interactive
,
math
,
two pointers
1600
x11555
1407B
Big Vova
brute force
,
greedy
,
math
,
number theory
1300
x16741
1407A
Ahahahahahahahaha
constructive algorithms
,
math
1100
x20146
1406E
Deleting Numbers
interactive
,
math
,
number theory
2600
x1578
1406D
Three Sequences
constructive algorithms
,
data structures
,
greedy
,
math
2200
x3399
1406A
Subset Mex
greedy
,
implementation
,
math
900
x21019
1404D
Game of Pairs
constructive algorithms
,
dfs and similar
,
interactive
,
math
,
number theory
2800
x992
1403C
Chess Rush
*special problem
,
combinatorics
,
dp
,
implementation
,
math
3200
x47
1402A
Fancy Fence
*special problem
,
data structures
,
dsu
,
implementation
,
math
,
sortings
1800
x1151
1401D
Maximum Distributed Tree
dfs and similar
,
dp
,
greedy
,
implementation
,
math
,
number theory
,
sortings
,
trees
1800
x8912
1401C
Mere Array
constructive algorithms
,
math
,
number theory
,
sortings
1300
x23589
1401B
Ternary Sequence
constructive algorithms
,
greedy
,
math
1100
x20768
1401A
Distance and Axis
constructive algorithms
,
math
900
x26976
1400G
Mercenaries
bitmasks
,
brute force
,
combinatorics
,
dp
,
dsu
,
math
,
two pointers
2600
x912
1400D
Zigzags
brute force
,
combinatorics
,
data structures
,
math
,
two pointers
1900
x9876
1400B
RPG Protagonist
brute force
,
greedy
,
math
1700
x10864
1398G
Running Competition
bitmasks
,
fft
,
math
,
number theory
2600
x780
1398E
Two Types of Spells
binary search
,
data structures
,
greedy
,
implementation
,
math
,
sortings
2200
x2183
1398C
Good Subarrays
data structures
,
dp
,
math
1600
x24656
1398A
Bad Triangle
geometry
,
math
800
x27106
1397B
Power Sequence
brute force
,
math
,
number theory
,
sortings
1500
x14421
1395A
Boboniu Likes to Color Balls
brute force
,
math
1000
x23588
1393C
Pinkie Pie Eats Patty-cakes
constructive algorithms
,
greedy
,
math
,
sortings
1700
x10304
1393A
Rainbow Dash, Fluttershy and Chess Coloring
greedy
,
math
800
x20244
1392I
Kevin and Grid
fft
,
graphs
,
math
3300
x204
1392H
ZS Shuffles Cards
combinatorics
,
dp
,
math
,
probabilities
3000
x684
1392G
Omkar and Pies
bitmasks
,
dfs and similar
,
dp
,
math
,
shortest paths
2900
x452
1392F
Omkar and Landslide
binary search
,
constructive algorithms
,
data structures
,
greedy
,
math
2400
x1948
1392E
Omkar and Duck
bitmasks
,
constructive algorithms
,
interactive
,
math
2100
x3278
1392B
Omkar and Infinity Clock
implementation
,
math
800
x18414
1392A
Omkar and Password
greedy
,
math
800
x20267
1391C
Cyclic Permutations
combinatorics
,
dp
,
graphs
,
math
1500
x14618
1391A
Suborrays
constructive algorithms
,
math
800
x24050
1389E
Calendar Ambiguity
math
,
number theory
2200
x3125
1389D
Segment Intersections
brute force
,
greedy
,
implementation
,
math
2100
x4043
1389A
LCM Problem
constructive algorithms
,
greedy
,
math
,
number theory
800
x39071
1388C
Uncle Bogdan and Country Happiness
dfs and similar
,
greedy
,
math
,
trees
1800
x9405
1388B
Captain Flint and a Long Voyage
greedy
,
math
1000
x21969
1388A
Captain Flint and Crew Recruitment
brute force
,
greedy
,
math
,
number theory
800
x24603
1387A
Graph
*special problem
,
binary search
,
dfs and similar
,
dp
,
math
,
ternary search
2100
x678
1386B
Mixture
*special problem
,
data structures
,
geometry
,
math
,
sortings
2900
x120
1385A
Three Pairwise Maximums
math
800
x37952
1383B
GameGame
bitmasks
,
constructive algorithms
,
dp
,
games
,
greedy
,
math
1900
x4791
1381E
Origami
geometry
,
math
,
sortings
3300
x102
1380G
Circular Dungeon
greedy
,
math
,
probabilities
2600
x776
1380D
Berserk And Fireball
constructive algorithms
,
greedy
,
implementation
,
math
,
two pointers
2000
x4646
1379E
Inverse Genealogy
constructive algorithms
,
divide and conquer
,
dp
,
math
,
trees
2800
x406
1379B
Dubious Cyrpto
binary search
,
brute force
,
math
,
number theory
1500
x12527
1375I
Cubic Lattice
geometry
,
math
,
matrices
,
number theory
3500
x78
1375F
Integer Game
constructive algorithms
,
games
,
interactive
,
math
2600
x1949
1375A
Sign Flipping
constructive algorithms
,
math
1100
x18081
1374D
Zero Remainder Array
math
,
sortings
,
two pointers
1400
x22589
1374B
Multiply by 2, divide by 6
math
900
x46888
1374A
Required Remainder
math
800
x51557
1373C
Pluses and Minuses
math
1300
x18001
1373A
Donut Shops
greedy
,
implementation
,
math
1000
x26119
1372C
Omkar and Baseball
constructive algorithms
,
math
1500
x17496
1372B
Omkar and Last Class of Math
greedy
,
math
,
number theory
1300
x26522
1371E2
Asterism (Hard Version)
binary search
,
combinatorics
,
dp
,
math
,
number theory
,
sortings
2300
x2308
1371E1
Asterism (Easy Version)
binary search
,
brute force
,
combinatorics
,
math
,
number theory
,
sortings
1900
x4980
1371C
A Cookie for You
greedy
,
implementation
,
math
1300
x20284
1371B
Magical Calendar
math
1200
x19047
1371A
Magical Sticks
math
800
x44812
1370C
Number Game
games
,
math
,
number theory
1400
x23763
1370B
GCD Compression
constructive algorithms
,
math
,
number theory
1100
x23185
1370A
Maximum GCD
greedy
,
implementation
,
math
,
number theory
800
x49667
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8315
←
1
2
...
11
12
13
14
15
...
27
28
→
User lists
Name