Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Rayan
→ Pay attention
Before contest
Rayan Programming Contest 2024 - Selection (Codeforces Round, Div. 1 + Div. 2)
5 days
Register now »
*has extra registration
→ 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
1392E
Omkar and Duck
bitmasks
,
constructive algorithms
,
interactive
,
math
2100
x3546
1391D
505
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
implementation
2000
x5348
1389D
Segment Intersections
brute force
,
greedy
,
implementation
,
math
2100
x4345
1388D
Captain Flint and Treasure
data structures
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2000
x6469
1387B1
Village (Minimum)
*special problem
,
dp
,
greedy
,
trees
2100
x1491
1387A
Graph
*special problem
,
binary search
,
dfs and similar
,
dp
,
math
,
ternary search
2100
x729
1385E
Directing Edges
constructive algorithms
,
dfs and similar
,
graphs
2000
x7558
1384B1
Koa and the Beach (Easy Version)
brute force
,
dp
,
greedy
1900
x3933
1383B
GameGame
bitmasks
,
constructive algorithms
,
dp
,
games
,
greedy
,
math
1900
x5107
1380D
Berserk And Fireball
constructive algorithms
,
greedy
,
implementation
,
math
,
two pointers
2000
x4712
1379C
Choosing flowers
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
two pointers
2000
x5622
1375D
Replace by MEX
brute force
,
constructive algorithms
,
sortings
1900
x9292
1372D
Omkar and Circle
brute force
,
dp
,
games
,
greedy
2100
x5419
1371E1
Asterism (Easy Version)
binary search
,
brute force
,
combinatorics
,
math
,
number theory
,
sortings
1900
x5275
1370E
Binary Subsequence Rotation
binary search
,
constructive algorithms
,
data structures
,
greedy
2100
x4919
1370D
Odd-Even Subsequence
binary search
,
dp
,
dsu
,
greedy
,
implementation
2000
x9773
1369D
TediousLee
dp
,
graphs
,
greedy
,
math
,
trees
1900
x8686
1367F1
Flying Sort (Easy Version)
dp
,
greedy
,
two pointers
2100
x3304
1367E
Necklace Assembly
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
number theory
1900
x5492
1366E
Two Arrays
binary search
,
brute force
,
combinatorics
,
constructive algorithms
,
dp
,
two pointers
2100
x4301
1366D
Two Divisors
constructive algorithms
,
math
,
number theory
2000
x10666
1365F
Swaps Again
constructive algorithms
,
implementation
,
sortings
2100
x4473
1365E
Maximum Subsequence Value
brute force
,
constructive algorithms
1900
x7890
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4438
1363E
Tree Shuffling
dfs and similar
,
dp
,
greedy
,
trees
2000
x6866
1363D
Guess The Maximums
binary search
,
implementation
,
interactive
,
math
2100
x4098
1361B
Johnny and Grandmaster
greedy
,
implementation
,
math
,
sortings
1900
x3672
1360H
Binary Median
binary search
,
bitmasks
,
brute force
,
constructive algorithms
2100
x4606
1360G
A/B Matrix
constructive algorithms
,
greedy
,
math
1900
x7851
1359E
Modular Stability
combinatorics
,
math
,
number theory
2000
x6162
1359D
Yet Another Yet Another Task
data structures
,
dp
,
implementation
,
two pointers
2000
x9567
1358D
The Best Vacation
binary search
,
brute force
,
greedy
,
implementation
,
two pointers
1900
x8230
1355E
Restorer Distance
binary search
,
greedy
,
math
,
sortings
,
ternary search
2100
x5198
1354E
Graph Coloring
dfs and similar
,
dp
,
graphs
2100
x3384
1354D
Multiset
binary search
,
data structures
1900
x8910
1354C2
Not So Simple Polygon Embedding
binary search
,
brute force
,
geometry
,
math
2000
x6111
1353E
K-periodic Garland
brute force
,
dp
,
greedy
1900
x7212
1349C
Orac and Game of Life
dfs and similar
,
graphs
,
implementation
,
shortest paths
2000
x4547
1349B
Orac and Medians
constructive algorithms
,
greedy
,
math
2000
x8207
1348D
Phoenix and Science
binary search
,
constructive algorithms
,
greedy
,
implementation
,
math
1900
x8915
1346F
Dune II: Battle For Arrakis
*special problem
,
data structures
,
greedy
,
math
2000
x228
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x6087
1343E
Weights Distributing
brute force
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x5228
1342D
Multiple Testcases
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
,
two pointers
1900
x6133
1333D
Challenges in school №41
brute force
,
constructive algorithms
,
games
,
graphs
,
greedy
,
implementation
,
sortings
2100
x3950
1332E
Height All the Same
combinatorics
,
constructive algorithms
,
math
,
matrices
2100
x3878
1328E
Tree Queries
dfs and similar
,
graphs
,
trees
1900
x9740
1322B
Present
binary search
,
bitmasks
,
constructive algorithms
,
data structures
,
math
,
sortings
2100
x4264
1320C
World of Darkraft: Battle for Azathoth
brute force
,
data structures
,
sortings
2000
x3158
1316D
Nash Matrix
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
2000
x3399
1313C2
Skyscrapers (hard version)
data structures
,
dp
,
greedy
1900
x6555
1312E
Array Shrinking
dp
,
greedy
2100
x6055
1311F
Moving Points
data structures
,
divide and conquer
,
implementation
,
sortings
1900
x4302
1311D
Three Integers
brute force
,
math
2000
x9133
1307D
Cow and Fields
binary search
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
sortings
1900
x6465
1305D
Kuroni and the Celebration
constructive algorithms
,
dfs and similar
,
interactive
,
trees
1900
x5055
1304E
1-Trees and Queries
data structures
,
dfs and similar
,
shortest paths
,
trees
2000
x5312
1303D
Fill The Bag
bitmasks
,
greedy
1900
x7183
1301D
Time to Run
constructive algorithms
,
graphs
,
implementation
2000
x4027
1299C
Water Balance
data structures
,
geometry
,
greedy
2100
x3971
1296F
Berland Beauty
constructive algorithms
,
dfs and similar
,
greedy
,
sortings
,
trees
2100
x2918
1296E2
String Coloring (hard version)
data structures
,
dp
2000
x5083
1294F
Three Paths on a Tree
dfs and similar
,
dp
,
greedy
,
trees
2000
x5868
1294E
Obtain a Permutation
greedy
,
implementation
,
math
1900
x4965
1288E
Messenger Simulator
data structures
2000
x3620
1288D
Minimax Problem
binary search
,
bitmasks
,
dp
2000
x7297
1285D
Dr. Evil Underscores
bitmasks
,
brute force
,
dfs and similar
,
divide and conquer
,
dp
,
greedy
,
strings
,
trees
1900
x7837
1284D
New Year and Conference
binary search
,
data structures
,
hashing
,
sortings
2100
x3181
1280C
Jeremy Bearimy
dfs and similar
,
graphs
,
greedy
,
trees
2000
x2726
1278D
Segment Tree
data structures
,
dsu
,
graphs
,
trees
2100
x4053
1277D
Let's Play the Words?
data structures
,
hashing
,
implementation
,
math
1900
x3130
1276B
Two Fairs
combinatorics
,
dfs and similar
,
dsu
,
graphs
1900
x5020
1272E
Nearest Opposite Parity
dfs and similar
,
graphs
,
shortest paths
1900
x6430
1271E
Common Number
binary search
,
combinatorics
,
dp
,
math
2100
x3459
1271D
Portals
data structures
,
dp
,
greedy
,
implementation
,
sortings
2100
x3117
1270D
Strange Device
constructive algorithms
,
interactive
,
math
,
sortings
1900
x4699
1268B
Domino for Young
dp
,
greedy
,
math
2000
x6006
1267K
Key Storage
combinatorics
,
math
2100
x1969
1266E
Spaceship Solitaire
data structures
,
greedy
,
implementation
2100
x2255
1266D
Decreasing Debts
constructive algorithms
,
data structures
,
graphs
,
greedy
,
implementation
,
math
,
two pointers
2000
x3652
1265E
Beautiful Mirrors
data structures
,
dp
,
math
,
probabilities
2100
x3762
1264B
Beautiful Sequence
brute force
,
constructive algorithms
,
greedy
1900
x5832
1263E
Editor
data structures
,
implementation
2100
x2806
1260D
A Game with Traps
binary search
,
dp
,
greedy
,
sortings
1900
x3871
1257E
The Contest
data structures
,
dp
,
greedy
2000
x4268
1256F
Equalizing Two Strings
constructive algorithms
,
sortings
,
strings
2000
x3341
1256E
Yet Another Division Into Teams
dp
,
greedy
,
sortings
2000
x4175
1254B2
Send Boxes to Alice (Hard Version)
constructive algorithms
,
greedy
,
math
,
number theory
,
ternary search
,
two pointers
2100
x3205
1252K
Addition Robot
data structures
,
math
,
matrices
2100
x1872
1252G
Performance Review
data structures
2100
x1439
1251D
Salary Changing
binary search
,
greedy
,
sortings
1900
x6062
1250N
Wires
dfs and similar
,
graphs
,
greedy
2000
x1591
1250C
Trip to Saint Petersburg
data structures
2100
x1325
1248D1
The World Is Just a Programming Task (Easy Version)
brute force
,
dp
,
greedy
,
implementation
2000
x2404
1245D
Shichikuji and Power Grid
dsu
,
graphs
,
greedy
,
shortest paths
,
trees
1900
x7692
1244E
Minimizing Difference
binary search
,
constructive algorithms
,
greedy
,
sortings
,
ternary search
,
two pointers
2000
x5252
1244C
The Football Season
brute force
,
math
,
number theory
2000
x7675
1242B
0-1 MST
dfs and similar
,
dsu
,
graphs
,
sortings
1900
x7619
1238D
AB-string
binary search
,
combinatorics
,
dp
,
strings
1900
x6069
1237D
Balanced Playlist
binary search
,
data structures
,
implementation
2000
x4252
←
1
2
3
4
5
6
7
...
13
14
→
User lists
Name