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)
22:18:55
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
1965C
Folding Strip
constructive algorithms
,
greedy
,
strings
2300
x1681
1965B
Missing Subsequence Sum
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1800
x5995
1958J
Necromancer
*special problem
3200
x24
1958I
Equal Trees
*special problem
,
graphs
,
meet-in-the-middle
3100
x27
1958H
Composite Spells
*special problem
,
dp
2600
x70
1958G
Observation Towers
*special problem
2400
x99
1958F
Narrow Paths
*special problem
,
combinatorics
2000
x169
1958E
Yet Another Permutation Constructive
*special problem
,
constructive algorithms
1900
x222
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x357
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x412
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1135
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x4113
1956F
Nene and the Passing Game
constructive algorithms
,
data structures
,
dsu
,
graphs
,
sortings
3000
x311
1956E2
Nene vs. Monsters (Hard Version)
brute force
,
greedy
,
implementation
,
math
2700
x765
1956E1
Nene vs. Monsters (Easy Version)
brute force
,
implementation
,
math
2500
x1352
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3575
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1156
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x4055
1955F
Unfair Game
dp
,
games
,
greedy
,
math
,
schedules
1800
x6516
1955E
Long Inversions
brute force
,
greedy
,
implementation
,
sortings
1700
x7939
1954F
Unique Strings
combinatorics
,
dp
,
math
3100
x234
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x2020
1954D
Colored Balls
combinatorics
,
dp
,
math
,
sortings
1800
x5536
1951I
Growing Trees
binary search
,
constructive algorithms
,
flows
,
graphs
,
greedy
3200
x70
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x234
1951G
Clacking Balls
combinatorics
,
math
,
probabilities
3100
x305
1951F
Inversion Composition
constructive algorithms
,
data structures
,
greedy
2500
x718
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x3336
1951D
Buying Jewels
constructive algorithms
,
greedy
,
math
2000
x5109
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3962
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x8412
1949K
Make Triangle
constructive algorithms
,
math
2800
x274
1949J
Amanda the Amoeba
graphs
,
implementation
,
trees
,
two pointers
2600
x356
1949I
Disks
dfs and similar
,
geometry
,
graph matchings
,
graphs
1800
x1469
1949H
Division Avoidance
greedy
,
math
3100
x78
1949G
Scooter
graphs
,
greedy
2300
x689
1949F
Dating
greedy
,
sortings
,
trees
2200
x851
1949E
Damage per Second
brute force
,
math
2900
x92
1949D
Funny or Scary?
constructive algorithms
2600
x335
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
1900
x1463
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x97
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x658
1948F
Rare Coins
combinatorics
,
math
,
probabilities
2500
x1222
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2806
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
1700
x8753
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x844
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2271
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4374
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x570
1945G
Cook and Porridge
binary search
,
constructive algorithms
,
data structures
,
implementation
2500
x689
1945F
Kirill and Mushrooms
data structures
,
sortings
1900
x3895
1945E
Binary Search
binary search
,
constructive algorithms
,
greedy
1700
x7557
1943F
Minimum Hamming Distance
dp
3500
x94
1943E2
MEX Game 2 (Hard Version)
binary search
,
greedy
,
two pointers
3300
x273
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
2900
x405
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x658
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1349
1943C
Tree Compass
constructive algorithms
,
dfs and similar
,
greedy
,
trees
2300
x1939
1943B
Non-Palindromic Substring
hashing
,
implementation
,
math
,
strings
2000
x3574
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x78
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x413
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x631
1942E
Farm Game
combinatorics
,
games
2300
x1567
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2630
1942C2
Bessie's Birthday Cake (Hard Version)
geometry
,
greedy
,
math
1700
x5845
1941G
Rudolf and Subway
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2000
x3249
1941F
Rudolf and Imbalance
binary search
,
greedy
,
sortings
,
two pointers
1800
x5561
1938M
Zig-zag
3500
x48
1938L
XOR Operations
2800
x259
1938K
Tree Quiz
2400
x553
1938J
There and Back Again
2100
x1151
1938I
Symmetric Boundary
2800
x56
1938G
Personality Test
2300
x909
1938F
Forming Groups
2400
x672
1938E
Duplicates
2200
x891
1938D
Bánh Bò
3300
x82
1938C
Bit Counting Sequence
1900
x1321
1938B
Attraction Score
3000
x172
1938A
Antiparticle Antiphysics
3500
x45
1936F
Grand Finale: Circles
binary search
,
geometry
3300
x74
1936E
Yet Yet Another Permutation Problem
divide and conquer
,
fft
,
math
3400
x103
1936D
Bitwise Paradox
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
3100
x459
1936C
Pokémon Arena
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
2400
x1178
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2619
1936A
Bitwise Operation Wizard
bitmasks
,
constructive algorithms
,
greedy
,
interactive
,
math
1700
x6951
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x421
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1250
1935D
Exam in MAC
binary search
,
combinatorics
,
implementation
,
math
1800
x7737
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7611
1934E
Weird LCM Operations
brute force
,
constructive algorithms
,
number theory
3000
x204
1934D2
XOR Break --- Game Version
bitmasks
,
games
,
greedy
,
interactive
2400
x1270
1934D1
XOR Break --- Solo Version
bitmasks
,
constructive algorithms
,
greedy
2100
x3258
1934C
Find a Mine
binary search
,
constructive algorithms
,
geometry
,
greedy
,
interactive
,
math
1700
x6369
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x918
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2335
1932G
Moving Platforms
graphs
,
math
,
number theory
,
shortest paths
2300
x952
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3737
1931G
One-Dimensional Puzzle
combinatorics
,
math
,
number theory
2000
x2599
1931F
Chat Screenshots
combinatorics
,
dfs and similar
,
graphs
1700
x7446
1930I
Counting Is Fun
combinatorics
3500
x60
←
1
2
3
4
...
54
55
→
User lists
Name