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)
02:12:37
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
896D
Nephren Runs a Cinema
chinese remainder theorem
,
combinatorics
,
math
,
number theory
2900
x522
896C
Willem, Chtholly and Seniorious
data structures
,
probabilities
2600
x3251
896B
Ithea Plays With Chtholly
binary search
,
constructive algorithms
,
games
,
greedy
,
interactive
2000
x2070
896A
Nephren gives a riddle
binary search
,
dfs and similar
1700
x3421
895E
Eyes Closed
data structures
,
probabilities
2300
x965
895D
String Mark
combinatorics
,
math
,
strings
2100
x1099
895C
Square Subsets
bitmasks
,
combinatorics
,
dp
,
math
2000
x5267
895B
XK Segments
binary search
,
math
,
sortings
,
two pointers
1700
x3446
894E
Ralph and Mushrooms
dp
,
graphs
2100
x2219
894D
Ralph And His Tour in Binary Country
brute force
,
data structures
,
trees
2200
x1115
894C
Marco and GCD Sequence
constructive algorithms
,
math
1900
x4330
894B
Ralph And His Magic Field
combinatorics
,
constructive algorithms
,
math
,
number theory
1800
x4413
893F
Subtree Minimum Query
data structures
,
trees
2300
x1772
893E
Counting Arrays
combinatorics
,
dp
,
math
,
number theory
2000
x3388
893D
Credit Card
data structures
,
dp
,
greedy
,
implementation
1900
x2995
891E
Lust
combinatorics
,
math
,
matrices
3000
x895
891D
Sloth
dfs and similar
,
dp
,
graph matchings
,
trees
3100
x179
891C
Envy
data structures
,
dsu
,
graphs
2300
x2302
891B
Gluttony
constructive algorithms
,
greedy
2000
x2931
889E
Mod Mod Mod
binary search
,
dp
,
math
3000
x521
888G
Xor-MST
bitmasks
,
constructive algorithms
,
data structures
2300
x4062
888F
Connecting Vertices
dp
,
graphs
2500
x773
888E
Maximum Subsequence
bitmasks
,
divide and conquer
,
meet-in-the-middle
1800
x6927
887F
Row of Models
greedy
,
sortings
2500
x163
887E
Little Brother
binary search
,
geometry
,
sortings
2800
x163
887D
Ratings and Reality Shows
data structures
,
two pointers
2400
x474
886F
Symmetric Projections
geometry
2900
x264
886E
Maximum Element
combinatorics
,
dp
,
math
2400
x992
886D
Restoration of string
constructive algorithms
,
graphs
,
implementation
2000
x1728
884F
Anti-Palindromize
flows
,
graphs
,
greedy
2500
x968
884E
Binary Matrix
dsu
2500
x676
884D
Boxes And Balls
data structures
,
greedy
2300
x1905
883L
Berland.Taxi
data structures
2500
x230
883K
Road Widening
constructive algorithms
,
greedy
,
implementation
1800
x1082
883J
Renovation
constructive algorithms
,
greedy
,
sortings
2400
x575
883I
Photo Processing
binary search
,
dp
1900
x1917
883H
Palindromic Cut
brute force
,
implementation
,
strings
1800
x1597
883G
Orientation of Edges
dfs and similar
,
graphs
1900
x1398
883D
Packmen Strike Back
binary search
,
dp
,
math
2500
x355
883C
Downloading B++
binary search
,
implementation
2300
x618
883B
Berland Army
constructive algorithms
,
graphs
,
greedy
2600
x342
883A
Automatic Door
implementation
2200
x580
878E
Numbers on the blackboard
combinatorics
,
dp
3300
x499
878D
Magic Breeding
bitmasks
2900
x645
878C
Tournament
data structures
,
graphs
2700
x899
878B
Teams Formation
data structures
,
implementation
2300
x1038
877F
Ann and Books
data structures
,
flows
,
hashing
2300
x1690
877E
Danil and a Part-time Job
bitmasks
,
data structures
,
trees
2000
x4327
877D
Olya and Energy Drinks
data structures
,
dfs and similar
,
graphs
,
shortest paths
2100
x4238
875F
Royal Questions
dsu
,
graphs
,
greedy
2500
x1295
875E
Delivery Club
binary search
,
data structures
,
dp
2600
x868
875D
High Cry
binary search
,
bitmasks
,
combinatorics
,
data structures
,
divide and conquer
2200
x2207
875C
National Property
2-sat
,
dfs and similar
,
graphs
,
implementation
2100
x2104
873F
Forbidden Indices
dsu
,
string suffix structures
,
strings
2400
x1319
873E
Awards For Contestants
brute force
,
data structures
,
dp
2300
x547
873D
Merge Sort
constructive algorithms
,
divide and conquer
1800
x3040
871E
Restore the Tree
graphs
,
greedy
,
trees
2900
x148
870F
Paths
data structures
,
number theory
2700
x604
870E
Points, Lines and Ready-made Titles
dfs and similar
,
dsu
,
graphs
,
trees
2300
x1076
870D
Something with XOR Queries
brute force
,
interactive
,
probabilities
2000
x1198
869E
The Untended Antiquity
data structures
,
hashing
2400
x1567
869D
The Overdosing Ubiquity
brute force
,
dfs and similar
,
graphs
2800
x240
869C
The Intriguing Obsession
combinatorics
,
dp
,
math
1800
x4493
868G
El Toll Caves
math
3300
x130
868F
Yet Another Minimization Problem
divide and conquer
,
dp
2500
x3580
868E
Policeman and a Tree
dp
,
graphs
,
trees
2700
x483
868D
Huge Strings
bitmasks
,
brute force
,
dp
,
implementation
,
strings
2200
x896
865G
Flowers and Chocolate
combinatorics
,
math
,
matrices
3300
x134
865F
Egg Roulette
bitmasks
,
brute force
,
divide and conquer
,
math
,
meet-in-the-middle
3300
x68
865E
Hex Dyslexia
bitmasks
,
brute force
,
dp
,
graphs
3300
x120
865D
Buy Low Sell High
constructive algorithms
,
data structures
,
greedy
2400
x5062
865C
Gotta Go Fast
binary search
,
dp
2400
x817
865B
Ordering Pizza
binary search
,
sortings
,
ternary search
1900
x1712
864F
Cities Excursions
dfs and similar
,
graphs
,
trees
2700
x582
864E
Fire
dp
,
sortings
2000
x4183
863G
Graphic Settings
3200
x54
863F
Almost Permutation
flows
2200
x1210
863E
Turn Off The TV
data structures
,
sortings
2000
x3008
863D
Yet Another Array Queries Problem
data structures
,
implementation
1800
x3182
863C
1-2-3
graphs
,
implementation
1800
x2460
862F
Mahmoud and Ehab and the final stage
data structures
,
strings
2900
x199
862E
Mahmoud and Ehab and the function
binary search
,
data structures
,
sortings
2100
x1590
862D
Mahmoud and Ehab and the binary string
binary search
,
divide and conquer
,
interactive
2000
x1709
862C
Mahmoud and Ehab and the xor
constructive algorithms
1900
x4015
860E
Arkady and a Nobody-men
data structures
,
dfs and similar
,
trees
2700
x427
859G
Circle of Numbers
math
3000
x154
859F
Ordering T-Shirts
greedy
2800
x180
859E
Desk Disorder
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
trees
2100
x1841
859D
Third Month Insanity
dp
,
probabilities
,
trees
2100
x1040
858F
Wizard's Tour
constructive algorithms
,
dfs and similar
,
graphs
2300
x1519
858E
Tests Renumeration
greedy
,
implementation
2200
x500
856F
To Play or not to Play
greedy
3000
x104
856E
Satellites
3100
x68
856D
Masha and Cactus
dp
,
trees
2400
x378
856C
Eleventh Birthday
combinatorics
,
dp
,
math
2400
x565
856B
Similar Words
dp
,
hashing
,
strings
,
trees
2300
x482
855G
Harry Vs Voldemort
dfs and similar
,
dp
,
graphs
,
trees
3300
x205
855F
Nagini
binary search
,
data structures
3100
x431
855E
Salazar Slytherin's Locket
bitmasks
,
dp
2200
x1689
855D
Rowena Ravenclaw's Diadem
trees
2500
x479
←
1
2
...
31
32
33
34
35
...
54
55
→
User lists
Name