Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2)
06:07:09
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
1365G
Secure Password
bitmasks
,
combinatorics
,
constructive algorithms
,
interactive
,
math
2800
x1110
1365F
Swaps Again
constructive algorithms
,
implementation
,
sortings
2100
x4370
1365E
Maximum Subsequence Value
brute force
,
constructive algorithms
1900
x7740
1365D
Solve The Maze
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
shortest paths
1700
x16794
1364E
X-OR
bitmasks
,
constructive algorithms
,
divide and conquer
,
interactive
,
probabilities
2700
x1265
1364D
Ehab's Last Corollary
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
trees
2100
x4175
1363F
Rotating Substrings
dp
,
strings
2600
x1470
1363E
Tree Shuffling
dfs and similar
,
dp
,
greedy
,
trees
2000
x6732
1363D
Guess The Maximums
binary search
,
implementation
,
interactive
,
math
2100
x4038
1361F
Johnny and New Toy
data structures
,
implementation
,
math
3300
x148
1361E
James and the Chase
dfs and similar
,
graphs
,
probabilities
,
trees
3000
x657
1361D
Johnny and James
greedy
,
implementation
,
math
,
trees
2900
x312
1361C
Johnny and Megan's Necklace
binary search
,
bitmasks
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x1598
1361B
Johnny and Grandmaster
greedy
,
implementation
,
math
,
sortings
1900
x3589
1361A
Johnny and Contribution
constructive algorithms
,
graphs
,
greedy
,
sortings
1700
x8363
1360H
Binary Median
binary search
,
bitmasks
,
brute force
,
constructive algorithms
2100
x4510
1360G
A/B Matrix
constructive algorithms
,
greedy
,
math
1900
x7648
1360F
Spy-string
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
hashing
,
strings
1700
x12209
1359F
RC Kaboom Show
binary search
,
brute force
,
data structures
,
geometry
,
math
2900
x533
1359E
Modular Stability
combinatorics
,
math
,
number theory
2000
x6016
1359D
Yet Another Yet Another Task
data structures
,
dp
,
implementation
,
two pointers
2000
x9296
1359C
Mixing Water
binary search
,
math
1700
x13612
1358F
Tasty Cookie
binary search
,
constructive algorithms
,
greedy
,
implementation
2700
x441
1358E
Are You Fired?
constructive algorithms
,
data structures
,
greedy
,
implementation
2400
x2248
1358D
The Best Vacation
binary search
,
brute force
,
greedy
,
implementation
,
two pointers
1900
x8087
1355F
Guess Divisors Count
constructive algorithms
,
interactive
,
number theory
2600
x825
1355E
Restorer Distance
binary search
,
greedy
,
math
,
sortings
,
ternary search
2100
x4993
1355C
Count Triangles
binary search
,
implementation
,
math
,
two pointers
1800
x10529
1354G
Find a Gift
binary search
,
interactive
,
probabilities
2600
x761
1354F
Summoning Minions
constructive algorithms
,
dp
,
flows
,
graph matchings
,
greedy
,
sortings
2500
x1180
1354E
Graph Coloring
dfs and similar
,
dp
,
graphs
2100
x3280
1354D
Multiset
binary search
,
data structures
1900
x8602
1354C2
Not So Simple Polygon Embedding
binary search
,
brute force
,
geometry
,
math
2000
x6017
1353F
Decreasing Heights
brute force
,
dp
2200
x3272
1353E
K-periodic Garland
brute force
,
dp
,
greedy
1900
x7053
1349F2
Slime and Sequences (Hard Version)
dp
,
fft
,
math
3500
x108
1349F1
Slime and Sequences (Easy Version)
dp
,
fft
,
math
3100
x405
1349E
Slime and Hats
constructive algorithms
,
dp
,
greedy
3500
x88
1349D
Slime and Biscuits
math
,
probabilities
3200
x881
1349C
Orac and Game of Life
dfs and similar
,
graphs
,
implementation
,
shortest paths
2000
x4447
1349B
Orac and Medians
constructive algorithms
,
greedy
,
math
2000
x8027
1348F
Phoenix and Memory
data structures
,
dfs and similar
,
graphs
,
greedy
2600
x790
1348E
Phoenix and Berries
brute force
,
dp
,
greedy
,
math
2400
x2168
1348D
Phoenix and Science
binary search
,
constructive algorithms
,
greedy
,
implementation
,
math
1900
x8765
1346I
Pac-Man 2.0
*special problem
,
dp
2900
x47
1346H
Game with Segments
*special problem
,
data structures
,
games
2700
x48
1346G
Two IP Cameras
*special problem
,
math
,
number theory
2300
x133
1346F
Dune II: Battle For Arrakis
*special problem
,
data structures
,
greedy
,
math
2000
x221
1346E
Magic Tricks
*special problem
,
dp
,
graphs
1700
x373
1344F
Piet's Palette
matrices
3200
x447
1344E
Train Tracks
data structures
,
trees
3100
x454
1344D
Résumé Review
binary search
,
greedy
,
math
2700
x1143
1344C
Quantifier Question
dfs and similar
,
dp
,
graphs
,
math
2600
x1838
1344B
Monopole Magnets
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2000
x6014
1343F
Restore the Permutation by Sorted Segments
brute force
,
constructive algorithms
,
data structures
,
greedy
,
implementation
2400
x1247
1343E
Weights Distributing
brute force
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x5055
1343D
Constant Palindrome Sum
brute force
,
data structures
,
greedy
,
two pointers
1700
x12505
1342F
Make It Ascending
bitmasks
,
brute force
,
dp
3000
x701
1342E
Placing Rooks
combinatorics
,
fft
,
math
2300
x3031
1342D
Multiple Testcases
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
,
two pointers
1900
x6053
1340F
Nastya and CBS
brute force
,
data structures
,
hashing
3300
x494
1340E
Nastya and Bees
graphs
,
interactive
,
probabilities
3000
x53
1340D
Nastya and Time Machine
constructive algorithms
,
dfs and similar
,
graphs
,
trees
2600
x982
1340C
Nastya and Unexpected Guest
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x2207
1340B
Nastya and Scoreboard
bitmasks
,
dp
,
graphs
,
greedy
1700
x7806
1338E
JYPnation
graphs
3500
x239
1338D
Nested Rubber Bands
constructive algorithms
,
dfs and similar
,
dp
,
math
,
trees
2700
x995
1338C
Perfect Triples
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
math
2200
x3164
1338B
Edge Weight Assignment
bitmasks
,
constructive algorithms
,
dfs and similar
,
greedy
,
math
,
trees
1800
x8355
1336F
Journey
data structures
,
divide and conquer
,
graphs
,
trees
3500
x202
1336E2
Chiori and Doll Picking (hard version)
bitmasks
,
brute force
,
combinatorics
,
math
3500
x297
1336E1
Chiori and Doll Picking (easy version)
bitmasks
,
brute force
,
combinatorics
,
math
2700
x658
1336D
Yui and Mahjong Set
constructive algorithms
,
interactive
3200
x470
1336C
Kaavi and Magic Spell
dp
,
strings
2200
x3531
1336B
Xenia and Colorful Gems
binary search
,
greedy
,
math
,
sortings
,
two pointers
1700
x11256
1335F
Robots on a Grid
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
2200
x2162
1335E2
Three Blocks Palindrome (hard version)
brute force
,
data structures
,
dp
,
two pointers
1800
x8234
1335E1
Three Blocks Palindrome (easy version)
binary search
,
brute force
,
data structures
,
dp
,
two pointers
1700
x10729
1334G
Substring Search
bitmasks
,
brute force
,
fft
2900
x357
1334F
Strange Function
binary search
,
data structures
,
dp
,
greedy
2500
x1279
1334E
Divisor Paths
combinatorics
,
graphs
,
greedy
,
math
,
number theory
2200
x2796
1334D
Minimum Euler Cycle
constructive algorithms
,
graphs
,
greedy
,
implementation
1800
x7228
1333F
Kate and imperfection
greedy
,
implementation
,
math
,
number theory
,
sortings
,
two pointers
2200
x4206
1333E
Road to 1600
brute force
,
constructive algorithms
2400
x1677
1333D
Challenges in school №41
brute force
,
constructive algorithms
,
games
,
graphs
,
greedy
,
implementation
,
sortings
2100
x3901
1333C
Eugene and an array
binary search
,
data structures
,
implementation
,
two pointers
1700
x12459
1332G
No Monotone Triples
data structures
3100
x294
1332F
Independent Set
dfs and similar
,
dp
,
trees
2500
x986
1332E
Height All the Same
combinatorics
,
constructive algorithms
,
math
,
matrices
2100
x3783
1332D
Walk on Matrix
bitmasks
,
constructive algorithms
,
math
1700
x8086
1329E
Dreamoon Loves AA
binary search
,
greedy
3300
x178
1329D
Dreamoon Likes Strings
constructive algorithms
,
data structures
3100
x391
1329C
Drazil Likes Heap
constructive algorithms
,
data structures
,
greedy
,
implementation
2400
x1675
1329B
Dreamoon Likes Sequences
bitmasks
,
combinatorics
,
math
1700
x6596
1329A
Dreamoon Likes Coloring
constructive algorithms
,
greedy
,
implementation
,
math
1800
x9017
1328F
Make k Equal
greedy
2200
x3196
1328E
Tree Queries
dfs and similar
,
graphs
,
trees
1900
x9249
1328D
Carousel
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
1800
x12957
1327G
Letters and Question Marks
bitmasks
,
dp
,
string suffix structures
2800
x408
1327F
AND Segments
bitmasks
,
combinatorics
,
data structures
,
dp
,
two pointers
2500
x1623
←
1
2
...
18
19
20
21
22
...
54
55
→
User lists
Name