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:
—
greedy
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
1354F
Summoning Minions
constructive algorithms
,
dp
,
flows
,
graph matchings
,
greedy
,
sortings
2500
x1040
1353E
K-periodic Garland
brute force
,
dp
,
greedy
1900
x6864
1353B
Two Arrays And Swaps
greedy
,
sortings
800
x48079
1353A
Most Unstable Array
constructive algorithms
,
greedy
,
math
800
x39568
1349E
Slime and Hats
constructive algorithms
,
dp
,
greedy
3500
x88
1349B
Orac and Medians
constructive algorithms
,
greedy
,
math
2000
x7838
1348F
Phoenix and Memory
data structures
,
dfs and similar
,
graphs
,
greedy
2600
x781
1348E
Phoenix and Berries
brute force
,
dp
,
greedy
,
math
2400
x2043
1348D
Phoenix and Science
binary search
,
constructive algorithms
,
greedy
,
implementation
,
math
1900
x8588
1348C
Phoenix and Distribution
constructive algorithms
,
greedy
,
sortings
,
strings
1600
x14294
1348B
Phoenix and Beauty
constructive algorithms
,
data structures
,
greedy
,
sortings
1400
x24751
1348A
Phoenix and Balance
greedy
,
math
800
x38745
1346F
Dune II: Battle For Arrakis
*special problem
,
data structures
,
greedy
,
math
2000
x221
1346D
Constructing the Dungeon
*special problem
,
graphs
,
greedy
1600
x483
1346C
Spring Cleaning
*special problem
,
greedy
,
sortings
1600
x585
1346B
Boot Camp
*special problem
,
greedy
1400
x1185
1344D
Résumé Review
binary search
,
greedy
,
math
2700
x1013
1343F
Restore the Permutation by Sorted Segments
brute force
,
constructive algorithms
,
data structures
,
greedy
,
implementation
2400
x1239
1343E
Weights Distributing
brute force
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x4893
1343D
Constant Palindrome Sum
brute force
,
data structures
,
greedy
,
two pointers
1700
x12320
1343C
Alternating Subsequence
dp
,
greedy
,
two pointers
1200
x37009
1342D
Multiple Testcases
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
,
two pointers
1900
x5905
1342A
Road To Zero
greedy
,
math
1000
x38883
1341B
Nastya and Door
greedy
,
implementation
1300
x19185
1340B
Nastya and Scoreboard
bitmasks
,
dp
,
graphs
,
greedy
1700
x7644
1340A
Nastya and Strange Generator
brute force
,
data structures
,
greedy
,
implementation
1500
x13218
1338B
Edge Weight Assignment
bitmasks
,
constructive algorithms
,
dfs and similar
,
greedy
,
math
,
trees
1800
x8177
1338A
Powered Addition
greedy
,
math
1500
x23014
1337B
Kana and Dragon Quest game
greedy
,
implementation
,
math
900
x33370
1336B
Xenia and Colorful Gems
binary search
,
greedy
,
math
,
sortings
,
two pointers
1700
x11104
1336A
Linova and Kingdom
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1600
x19599
1335F
Robots on a Grid
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
2200
x2010
1335C
Two Teams Composing
binary search
,
greedy
,
implementation
,
sortings
1100
x33622
1334F
Strange Function
binary search
,
data structures
,
dp
,
greedy
2500
x1140
1334E
Divisor Paths
combinatorics
,
graphs
,
greedy
,
math
,
number theory
2200
x2649
1334D
Minimum Euler Cycle
constructive algorithms
,
graphs
,
greedy
,
implementation
1800
x7068
1334C
Circle of Monsters
brute force
,
constructive algorithms
,
greedy
,
math
1600
x16209
1334B
Middle Class
greedy
,
sortings
1100
x25339
1333F
Kate and imperfection
greedy
,
implementation
,
math
,
number theory
,
sortings
,
two pointers
2200
x3991
1333D
Challenges in school №41
brute force
,
constructive algorithms
,
games
,
graphs
,
greedy
,
implementation
,
sortings
2100
x3701
1333B
Kind Anton
greedy
,
implementation
1100
x21320
1332C
K-Complete Word
dfs and similar
,
dsu
,
greedy
,
implementation
,
strings
1500
x15932
1332B
Composite Coloring
brute force
,
constructive algorithms
,
greedy
,
math
,
number theory
1400
x17220
1332A
Exercising Walk
greedy
,
implementation
,
math
1100
x19169
1329E
Dreamoon Loves AA
binary search
,
greedy
3300
x173
1329C
Drazil Likes Heap
constructive algorithms
,
data structures
,
greedy
,
implementation
2400
x1552
1329A
Dreamoon Likes Coloring
constructive algorithms
,
greedy
,
implementation
,
math
1800
x8856
1328F
Make k Equal
greedy
2200
x3026
1328D
Carousel
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
1800
x12674
1328C
Ternary XOR
greedy
,
implementation
1200
x29620
1327B
Princesses and Princes
brute force
,
graphs
,
greedy
1200
x18366
1326D2
Prefix-Suffix Palindrome (Hard version)
binary search
,
greedy
,
hashing
,
string suffix structures
,
strings
1800
x9716
1326C
Permutation Partitions
combinatorics
,
greedy
,
math
1300
x15344
1325F
Ehab's Last Theorem
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
2500
x1797
1325D
Ehab the Xorcist
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1700
x11720
1325C
Ehab and Path-etic MEXs
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1500
x13145
1325B
CopyCopyCopyCopyCopy
greedy
,
implementation
800
x35172
1325A
EhAb AnD gCd
constructive algorithms
,
greedy
,
number theory
800
x38670
1324C
Frog Jumps
binary search
,
data structures
,
dfs and similar
,
greedy
,
implementation
1100
x27202
1323B
Count Subrectangles
binary search
,
greedy
,
implementation
1500
x8748
1323A
Even Subset Sum Problem
brute force
,
dp
,
greedy
,
implementation
800
x19567
1322A
Unusual Competitions
greedy
1300
x12371
1321C
Remove Adjacent
brute force
,
constructive algorithms
,
greedy
,
strings
1600
x9663
1321A
Contest for Robots
greedy
900
x14192
1320A
Journey Planning
data structures
,
dp
,
greedy
,
math
,
sortings
1400
x15799
1316E
Team Building
bitmasks
,
dp
,
greedy
,
sortings
2300
x3707
1315C
Restoring Permutation
greedy
1200
x9970
1315B
Homecoming
binary search
,
dp
,
greedy
,
strings
1300
x9112
1313C2
Skyscrapers (hard version)
data structures
,
dp
,
greedy
1900
x6332
1313C1
Skyscrapers (easy version)
brute force
,
data structures
,
dp
,
greedy
1500
x10268
1313B
Different Rules
constructive algorithms
,
greedy
,
implementation
,
math
1700
x6608
1313A
Fast Food Restaurant
brute force
,
greedy
,
implementation
900
x15372
1312E
Array Shrinking
dp
,
greedy
2100
x5619
1312C
Adding Powers
bitmasks
,
greedy
,
implementation
,
math
,
number theory
,
ternary search
1400
x16108
1312A
Two Regular Polygons
geometry
,
greedy
,
math
,
number theory
800
x25524
1311A
Add Odd or Subtract Even
greedy
,
implementation
,
math
800
x41109
1310A
Recommendations
data structures
,
greedy
,
sortings
1700
x5136
1307E
Cow and Treats
binary search
,
combinatorics
,
dp
,
greedy
,
implementation
,
math
2500
x1133
1307D
Cow and Fields
binary search
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
shortest paths
,
sortings
1900
x6203
1307B
Cow and Friend
geometry
,
greedy
,
math
1300
x13082
1307A
Cow and Haybales
greedy
,
implementation
800
x14878
1305H
Kuroni the Private Tutor
binary search
,
greedy
3500
x113
1305E
Kuroni and the Score Distribution
constructive algorithms
,
greedy
,
implementation
,
math
2200
x3051
1305B
Kuroni and Simple Strings
constructive algorithms
,
greedy
,
strings
,
two pointers
1200
x11629
1305A
Kuroni and the Gifts
brute force
,
constructive algorithms
,
greedy
,
sortings
800
x13939
1304F2
Animal Observation (hard version)
data structures
,
dp
,
greedy
2400
x1362
1304D
Shortest and Longest LIS
constructive algorithms
,
graphs
,
greedy
,
two pointers
1800
x6238
1304C
Air Conditioner
dp
,
greedy
,
implementation
,
sortings
,
two pointers
1500
x16061
1304B
Longest Palindrome
brute force
,
constructive algorithms
,
greedy
,
implementation
,
strings
1100
x17613
1303D
Fill The Bag
bitmasks
,
greedy
1900
x6988
1303C
Perfect Keyboard
dfs and similar
,
greedy
,
implementation
1600
x12027
1301C
Ayoub's function
binary search
,
combinatorics
,
greedy
,
math
,
strings
1700
x9218
1301B
Motarack's Birthday
binary search
,
greedy
,
ternary search
1500
x14042
1300B
Assigning to Classes
greedy
,
implementation
,
sortings
1000
x22660
1299C
Water Balance
data structures
,
geometry
,
greedy
2100
x3845
1299A
Anu Has a Function
brute force
,
greedy
,
math
1500
x11920
1297F
Movie Fan
*special problem
,
data structures
,
greedy
,
implementation
,
sortings
x115
1297D
Bonus Distribution
*special problem
,
binary search
,
greedy
,
sortings
x261
1297C
Dream Team
*special problem
,
greedy
x398
1296F
Berland Beauty
constructive algorithms
,
dfs and similar
,
greedy
,
sortings
,
trees
2100
x2828
←
1
2
...
13
14
15
16
17
...
27
28
→
User lists
Name