Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 951 (Div. 2)
36:27:05
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
data structures
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
1981F
Turtle and Paths on a Tree
data structures
,
dp
,
trees
x74
1981E
Turtle and Intersected Segments
data structures
,
dsu
,
graphs
,
greedy
x387
1980G
Yasya and the Mysterious Tree
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
hashing
,
strings
,
trees
x412
1980F1
Field Division (easy version)
data structures
,
geometry
,
math
,
sortings
x1790
1980E
Permutation of Rows and Columns
constructive algorithms
,
data structures
,
hashing
,
math
,
matrices
,
sortings
x5882
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x4889
1976F
Remove Bridges
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
x291
1976E
Splittable Permutations
combinatorics
,
data structures
,
dfs and similar
,
greedy
,
math
,
trees
x615
1976D
Invertible Bracket Sequences
binary search
,
combinatorics
,
data structures
,
divide and conquer
,
implementation
,
two pointers
x2864
1975E
Chain Queries
binary search
,
data structures
,
dfs and similar
,
implementation
,
trees
2100
x1624
1974G
Money Buys Less Happiness Now
data structures
,
greedy
,
sortings
2000
x3206
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x2710
1974C
Beautiful Triple Pairs
combinatorics
,
data structures
1400
x12622
1973B
Cat, Fox and the Lonely Array
binary search
,
bitmasks
,
data structures
,
greedy
,
math
,
two pointers
1300
x11512
1971G
XOUR
data structures
,
dsu
,
sortings
1700
x7297
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1038
1969D
Shop Game
data structures
,
greedy
,
math
,
sortings
1900
x3684
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1516
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x3435
1968F
Equal XOR Segments
binary search
,
data structures
1800
x4384
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x40
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1398
1965F
Conference
data structures
,
flows
3300
x102
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x312
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x370
1956F
Nene and the Passing Game
constructive algorithms
,
data structures
,
dsu
,
graphs
,
sortings
3000
x286
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x19720
1955D
Inaccurate Subsequence Search
data structures
,
two pointers
1400
x13418
1955B
Progressive Square
constructive algorithms
,
data structures
,
implementation
,
sortings
1000
x24811
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x1886
1951F
Inversion Composition
constructive algorithms
,
data structures
,
greedy
2500
x670
1951B
Battle Cows
binary search
,
data structures
,
greedy
1200
x12637
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x799
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x511
1945G
Cook and Porridge
binary search
,
constructive algorithms
,
data structures
,
implementation
2500
x648
1945F
Kirill and Mushrooms
data structures
,
sortings
1900
x3706
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x68
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x587
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2501
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x8450
1940D
Almost Certainly
*special problem
,
constructive algorithms
,
data structures
,
sortings
x125
1940C
Burenka and Pether
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
x33
1936D
Bitwise Paradox
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
3100
x436
1936C
Pokémon Arena
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
2400
x1133
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2515
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x404
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1199
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7315
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3512
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x14108
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x264
1930C
Lexicographically Largest
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
1700
x6516
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1662
1928F
Digital Patterns
combinatorics
,
data structures
,
implementation
,
math
2900
x216
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3835
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1519
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x3905
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18760
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x10441
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2314
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3292
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x6068
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5297
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1146
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3511
1921D
Very Different Array
data structures
,
greedy
,
sortings
,
two pointers
1100
x20307
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x421
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x897
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x751
1919F1
Wine Factory (Easy Version)
data structures
,
greedy
2300
x2049
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3638
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x17124
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4348
1918B
Minimize Inversions
constructive algorithms
,
data structures
,
greedy
,
implementation
,
sortings
900
x22400
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1681
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19815
1916E
Happy Life in University
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2118
1915F
Greetings
data structures
,
divide and conquer
,
sortings
1500
x11920
1915E
Romantic Glasses
data structures
,
greedy
,
math
1300
x18956
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1242
1913F
Palindromic Problem
binary search
,
data structures
,
hashing
,
string suffix structures
,
strings
2800
x293
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2771
1912G
Great City Saint Petersburg
data structures
2400
x425
1912A
Accumulator Apex
data structures
,
implementation
,
sortings
1900
x1910
1910H
Sum of Digits of Sums
*special problem
,
binary search
,
data structures
2400
x82
1909H
Parallel Swaps Sort
constructive algorithms
,
data structures
3500
x62
1909C
Heavy Intervals
constructive algorithms
,
data structures
,
dsu
,
greedy
,
math
,
sortings
1400
x10186
1907B
YetnotherrokenKeoard
data structures
,
implementation
,
strings
1000
x23717
1906F
Maximize The Value
data structures
,
sortings
2100
x950
1905F
Field Should Not Be Empty
brute force
,
data structures
,
divide and conquer
2600
x464
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3559
1904F
Beautiful Tree
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2800
x312
1904E
Tree Queries
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2500
x844
1904D2
Set To Max (Hard Version)
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
sortings
1800
x3910
1904C
Array Game
binary search
,
brute force
,
data structures
,
sortings
,
two pointers
1400
x10944
1903F
Babysitting
2-sat
,
binary search
,
data structures
,
graphs
,
trees
2500
x569
1902F
Trees and XOR Queries Again
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
implementation
,
math
,
trees
2400
x910
1902E
Collapsing Strings
data structures
,
strings
,
trees
1900
x3934
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3737
1900F
Local Deletions
binary search
,
data structures
,
implementation
2800
x265
←
1
2
3
...
16
17
→
User lists
Name