Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Rayan Programming Contest
→ Pay attention
Before contest
Rayan Programming Contest 2024 - Selection (Codeforces Round, Div. 1 + Div. 2)
6 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
brute force
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
1598E
Staircases
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
dp
,
implementation
,
math
2100
x2334
1598B
Groups
brute force
,
implementation
1000
x16147
1598A
Computer Game
brute force
,
dfs and similar
,
dp
,
implementation
800
x23570
1594E2
Rubik's Cube Coloring (hard version)
brute force
,
dp
,
implementation
,
math
,
trees
2300
x1495
1594C
Make Them Equal
brute force
,
greedy
,
math
,
strings
1200
x19871
1593E
Gardener and Tree
brute force
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
1600
x12584
1593D2
Half of Same
brute force
,
math
,
number theory
1900
x5087
1582F2
Korney Korneevich and XOR (hard version)
binary search
,
brute force
,
dp
,
greedy
,
two pointers
2400
x1851
1582C
Grandma Capa Knits a Scarf
brute force
,
data structures
,
greedy
,
strings
,
two pointers
1200
x15955
1580E
Railway Construction
brute force
,
constructive algorithms
,
data structures
,
graphs
,
shortest paths
3400
x76
1580D
Subsequence
brute force
,
divide and conquer
,
dp
,
greedy
,
trees
2900
x935
1580C
Train Maintenance
brute force
,
data structures
,
implementation
2200
x1834
1580B
Mathematics Curriculum
brute force
,
combinatorics
,
dp
,
trees
2600
x1057
1580A
Portal
brute force
,
data structures
,
dp
,
greedy
,
implementation
1700
x3700
1579F
Array Stabilization (AND version)
brute force
,
graphs
,
math
,
number theory
,
shortest paths
1700
x4829
1578K
Kingdom of Islands
brute force
,
graphs
,
implementation
2800
x371
1578J
Just Kingdom
brute force
,
data structures
,
dfs and similar
3100
x238
1575J
Jeopardy of Dropped Balls
binary search
,
brute force
,
dsu
,
implementation
1500
x3847
1575D
Divisible by Twenty-Five
brute force
,
dfs and similar
,
dp
1800
x2603
1574D
The Strongest Build
binary search
,
brute force
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
hashing
,
implementation
2000
x4527
1572B
Xor of 3
brute force
,
constructive algorithms
,
greedy
,
two pointers
2500
x1859
1572A
Book
binary search
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
1800
x9133
1571D
Sweepstake
*special problem
,
brute force
,
constructive algorithms
,
implementation
,
math
1800
x335
1569F
Palindromic Hamiltonian Path
brute force
,
dfs and similar
,
dp
,
graphs
,
hashing
3000
x262
1569E
Playoff Restoration
bitmasks
,
brute force
,
hashing
,
implementation
,
meet-in-the-middle
2600
x813
1562B
Scenes From a Memory
brute force
,
constructive algorithms
,
implementation
,
math
,
number theory
1000
x19700
1561D1
Up the Strip (simplified version)
brute force
,
data structures
,
dp
,
math
,
number theory
1700
x5655
1561A
Simply Strange Sort
brute force
,
implementation
,
sortings
800
x16611
1560F2
Nearest Beautiful Number (hard version)
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
greedy
2100
x4427
1560F1
Nearest Beautiful Number (easy version)
binary search
,
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
1900
x6185
1559D2
Mocha and Diana (Hard Version)
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
,
two pointers
2500
x2680
1559D1
Mocha and Diana (Easy Version)
brute force
,
constructive algorithms
,
dsu
,
graphs
,
greedy
,
trees
1400
x13986
1558B
Up the Strip
brute force
,
dp
,
math
,
number theory
,
two pointers
1900
x4832
1558A
Charmed by the Game
brute force
,
math
1300
x11124
1557E
Assiut Chess
brute force
,
constructive algorithms
,
interactive
2800
x718
1557A
Ezzat and Two Subsequences
brute force
,
math
,
sortings
800
x28001
1556C
Compressed Bracket Sequence
brute force
,
implementation
1800
x5824
1555D
Say No to Palindromes
brute force
,
constructive algorithms
,
dp
,
strings
1600
x12531
1555C
Coin Rows
brute force
,
constructive algorithms
,
dp
,
implementation
1300
x21972
1555B
Two Tables
brute force
1300
x16160
1555A
PizzaForces
brute force
,
math
900
x28281
1554B
Cobb
bitmasks
,
brute force
,
greedy
,
math
1700
x12879
1553G
Common Divisor Graph
brute force
,
constructive algorithms
,
dsu
,
graphs
,
hashing
,
math
,
number theory
2700
x1054
1553E
Permutation Shift
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
math
2100
x3368
1553C
Penalty
bitmasks
,
brute force
,
dp
,
greedy
1200
x18027
1553B
Reverse String
brute force
,
dp
,
hashing
,
implementation
,
strings
1300
x14231
1552G
A Serious Referee
bitmasks
,
brute force
,
dfs and similar
,
sortings
3000
x534
1552D
Array Differentiation
bitmasks
,
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
math
1800
x7088
1551F
Equidistant Vertices
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2200
x1857
1551E
Fixed Points
binary search
,
brute force
,
dp
2000
x3984
1550E
Stringforces
binary search
,
bitmasks
,
brute force
,
dp
,
strings
,
two pointers
2500
x1552
1550C
Manhattan Subarrays
brute force
,
geometry
,
greedy
,
implementation
1700
x10241
1548D2
Gregor and the Odd Cows (Hard)
brute force
,
geometry
,
math
,
number theory
3300
x265
1548A
Web of Lies
brute force
,
graphs
,
greedy
1400
x16534
1547F
Array Stabilization (GCD version)
binary search
,
brute force
,
data structures
,
divide and conquer
,
number theory
,
two pointers
1900
x5920
1546A
AquaMoon and Two Arrays
brute force
,
greedy
800
x18247
1545F
AquaMoon and Potatoes
brute force
,
data structures
,
dp
3500
x110
1545C
AquaMoon and Permutations
2-sat
,
brute force
,
combinatorics
,
constructive algorithms
,
graph matchings
,
graphs
2800
x641
1543D2
RPD and Rap Sheet (Hard Version)
brute force
,
constructive algorithms
,
interactive
,
math
2200
x2025
1543C
Need for Pink Slips
bitmasks
,
brute force
,
dfs and similar
,
implementation
,
math
,
probabilities
1900
x5317
1541B
Pleasant Pairs
brute force
,
implementation
,
math
,
number theory
1200
x29015
1540D
Inverse Inversions
binary search
,
brute force
,
data structures
3200
x282
1540B
Tree Array
brute force
,
combinatorics
,
dp
,
graphs
,
math
,
probabilities
,
trees
2300
x2659
1538A
Stone Game
brute force
,
dp
,
greedy
800
x37155
1537E1
Erase and Extend (Easy Version)
binary search
,
brute force
,
dp
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
1600
x13156
1536B
Prinzessin der Verurteilung
brute force
,
constructive algorithms
,
strings
1200
x19031
1536A
Omkar and Bad Story
brute force
,
constructive algorithms
800
x20238
1535F
String Distance
binary search
,
brute force
,
data structures
,
hashing
,
implementation
,
strings
3000
x455
1535B
Array Reodering
brute force
,
greedy
,
math
,
number theory
,
sortings
900
x30786
1535A
Fair Playoff
brute force
,
implementation
800
x50248
1534A
Colour the Flag
brute force
,
implementation
800
x12776
1531E2
Сортировка слиянием
*special problem
,
*special problem
,
brute force
x338
1530C
Pursuit
binary search
,
brute force
,
greedy
,
sortings
1200
x14715
1526D
Kill Anton
brute force
,
constructive algorithms
,
data structures
,
math
,
strings
2200
x2484
1526C1
Potions (Easy Version)
brute force
,
data structures
,
dp
,
greedy
1500
x22841
1525F
Goblins And Gnomes
brute force
,
dp
,
flows
,
graph matchings
2800
x332
1523D
Love-Hate
bitmasks
,
brute force
,
dp
,
probabilities
2400
x2189
1523C
Compression and Expansion
brute force
,
data structures
,
greedy
,
implementation
,
trees
1600
x8809
1520G
To Go Or Not To Go?
brute force
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
shortest paths
2200
x3755
1520B
Ordinary Numbers
brute force
,
math
,
number theory
800
x44858
1520A
Do Not Be Distracted!
brute force
,
implementation
800
x52262
1519F
Chests and Keys
bitmasks
,
brute force
,
dfs and similar
,
dp
,
flows
3200
x435
1519D
Maximum Sum of Products
brute force
,
dp
,
implementation
,
math
,
two pointers
1600
x15429
1519C
Berland Regional
brute force
,
data structures
,
greedy
,
number theory
,
sortings
1400
x17150
1516B
AGAGA XOOORRR
bitmasks
,
brute force
,
dp
,
greedy
1500
x19689
1515H
Phoenix and Bits
bitmasks
,
brute force
,
data structures
,
sortings
3500
x240
1515B
Phoenix and Puzzle
brute force
,
geometry
,
math
,
number theory
1000
x25124
1513F
Swapping Problem
brute force
,
constructive algorithms
,
data structures
,
sortings
2500
x1290
1512G
Short Task
brute force
,
dp
,
math
,
number theory
1700
x8311
1512F
Education
brute force
,
dp
,
greedy
,
implementation
1900
x6283
1512E
Permutation by Sum
brute force
,
greedy
,
math
1600
x10565
1512A
Spy Detected!
brute force
,
implementation
800
x65277
1511G
Chips on a Board
bitmasks
,
brute force
,
data structures
,
dp
,
games
,
two pointers
2700
x803
1511F
Chainword
brute force
,
data structures
,
dp
,
matrices
,
string suffix structures
,
strings
2700
x447
1511D
Min Cost String
brute force
,
constructive algorithms
,
graphs
,
greedy
,
strings
1600
x11590
1511C
Yet Another Card Deck
brute force
,
data structures
,
implementation
,
trees
1100
x24254
1510K
King's Task
brute force
,
graphs
,
implementation
1200
x5512
1508F
Optimal Encoding
brute force
,
data structures
3500
x128
1508E
Tree Calendar
brute force
,
constructive algorithms
,
data structures
,
dfs and similar
,
sortings
,
trees
3100
x349
1508C
Complete the MST
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
2500
x1517
←
1
2
...
5
6
7
8
9
...
17
18
→
User lists
Name