Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 945 (Div. 2)
4 days
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
1952I
Dark Matter
bitmasks
,
geometry
x350
1952H
Palindrome
implementation
,
strings
x354
1952G
Mathematician Takeover
binary search
,
dfs and similar
,
math
x925
1952F
Grid
brute force
x1642
1952E
Sweep Line
combinatorics
,
games
,
math
x209
1952D
Are You a Procrastinator?
implementation
x4161
1952C
They Have Fooled
brute force
,
schedules
x2721
1952B
Is it stated?
strings
x10312
1952A
Are You a Robot, Again?
strings
x11384
1951I
Growing Trees
binary search
,
constructive algorithms
,
flows
,
graphs
,
greedy
3200
x45
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x198
1951G
Clacking Balls
combinatorics
,
math
,
probabilities
3100
x255
1951F
Inversion Composition
constructive algorithms
,
data structures
,
greedy
2500
x648
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x3013
1951D
Buying Jewels
constructive algorithms
,
greedy
,
math
2000
x4686
1951C
Ticket Hoarding
greedy
,
math
,
sortings
1400
x9606
1951B
Battle Cows
binary search
,
data structures
,
greedy
1200
x12052
1951A
Dual Trigger
constructive algorithms
,
greedy
,
math
900
x16457
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3497
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x7609
1950E
Nearly Shortest Repeating Substring
brute force
,
implementation
,
number theory
,
strings
1500
x11999
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x20360
1950C
Clock Conversion
implementation
,
math
800
x35136
1950B
Upscaling
implementation
800
x33577
1950A
Stair, Peak, or Neither?
implementation
800
x44081
1949K
Make Triangle
constructive algorithms
,
math
2800
x233
1949J
Amanda the Amoeba
graphs
,
implementation
,
trees
,
two pointers
2600
x314
1949I
Disks
dfs and similar
,
geometry
,
graph matchings
,
graphs
1800
x1154
1949H
Division Avoidance
greedy
,
math
3100
x74
1949G
Scooter
graphs
,
greedy
2300
x638
1949F
Dating
greedy
,
sortings
,
trees
2200
x760
1949E
Damage per Second
brute force
,
math
2900
x82
1949D
Funny or Scary?
constructive algorithms
2600
x306
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
1900
x1203
1949B
Charming Meals
binary search
,
brute force
,
greedy
,
sortings
1500
x1847
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x81
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x614
1948F
Rare Coins
combinatorics
,
math
,
probabilities
2500
x1148
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2628
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
1700
x8203
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x14458
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x20483
1948A
Special Characters
brute force
,
constructive algorithms
800
x26302
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x776
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2096
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4029
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x9116
1946B
Maximum Sum
dp
,
greedy
,
math
1100
x17921
1946A
Median of an Array
greedy
,
implementation
,
sortings
800
x23531
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x491
1945G
Cook and Porridge
binary search
,
constructive algorithms
,
data structures
,
implementation
2500
x625
1945F
Kirill and Mushrooms
data structures
,
sortings
1900
x3575
1945E
Binary Search
binary search
,
constructive algorithms
,
greedy
1700
x6946
1945D
Seraphim the Owl
dp
,
greedy
1300
x12167
1945C
Left and Right Houses
brute force
1200
x12851
1945B
Fireworks
math
,
number theory
900
x19702
1945A
Setting up Camp
greedy
,
math
800
x24709
1944B
Equal XOR
bitmasks
,
constructive algorithms
1100
x14264
1944A
Destroying Bridges
graphs
,
greedy
,
math
800
x21216
1943F
Minimum Hamming Distance
dp
3500
x79
1943E2
MEX Game 2 (Hard Version)
binary search
,
greedy
,
two pointers
3300
x230
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
2900
x362
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x595
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1254
1943C
Tree Compass
constructive algorithms
,
dfs and similar
,
greedy
,
trees
2300
x1799
1943B
Non-Palindromic Substring
hashing
,
implementation
,
math
,
strings
2000
x3293
1943A
MEX Game 1
games
,
greedy
1300
x15334
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x59
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x370
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x558
1942E
Farm Game
combinatorics
,
games
2300
x1441
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2423
1942C2
Bessie's Birthday Cake (Hard Version)
geometry
,
greedy
,
math
1700
x5476
1942C1
Bessie's Birthday Cake (Easy Version)
geometry
,
greedy
,
math
1300
x9508
1942B
Bessie and MEX
constructive algorithms
,
math
1100
x12246
1942A
Farmer John's Challenge
constructive algorithms
,
math
800
x15560
1941G
Rudolf and Subway
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2000
x2957
1941F
Rudolf and Imbalance
binary search
,
greedy
,
sortings
,
two pointers
1800
x5201
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x8176
1941D
Rudolf and the Ball Game
dfs and similar
,
dp
,
implementation
1200
x16632
1941C
Rudolf and the Ugly String
dp
,
greedy
,
strings
900
x29727
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x26451
1941A
Rudolf and the Ticket
brute force
,
math
800
x38970
1940D
Almost Certainly
*special problem
,
constructive algorithms
,
data structures
,
sortings
x124
1940C
Burenka and Pether
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
x32
1940B
Three Arrays
*special problem
,
constructive algorithms
,
implementation
,
sortings
x174
1940A
Parallel Universes
*special problem
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
x80
1939D
Big Persimmon
*special problem
,
dp
,
games
x59
1939C
More Gifts
*special problem
,
dfs and similar
,
two pointers
x275
1939B
Evidence Board
*special problem
,
constructive algorithms
,
dfs and similar
,
graphs
,
trees
x209
1939A
Draw Polygon Lines
*special problem
,
constructive algorithms
,
dp
,
geometry
,
interactive
x14
1938M
Zig-zag
3500
x45
1938L
XOR Operations
2800
x250
1938K
Tree Quiz
2400
x534
1938J
There and Back Again
2100
x1115
1938I
Symmetric Boundary
2800
x53
1938H
Pho Restaurant
1600
x1869
1938G
Personality Test
2300
x876
1938F
Forming Groups
2400
x654
1938E
Duplicates
2200
x863
←
1
2
3
4
...
95
96
→
User lists
Name