Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Educational Codeforces Round 166 (Rated for Div. 2)
43:16:58
Register now »
→ 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
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
x3741
1975E
Chain Queries
binary search
,
data structures
,
dfs and similar
,
implementation
,
trees
x1382
1974G
Money Buys Less Happiness Now
data structures
,
greedy
,
sortings
2000
x2878
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x2430
1974C
Beautiful Triple Pairs
combinatorics
,
data structures
1400
x11634
1973B
Cat, Fox and the Lonely Array
binary search
,
bitmasks
,
data structures
,
greedy
,
math
,
two pointers
1300
x11017
1971G
XOUR
data structures
,
dsu
,
sortings
1400
x6962
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1012
1969D
Shop Game
data structures
,
greedy
,
math
,
sortings
1900
x3564
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1480
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x3341
1968F
Equal XOR Segments
binary search
,
data structures
1800
x4253
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x36
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1381
1965F
Conference
data structures
,
flows
3300
x92
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x300
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x360
1956F
Nene and the Passing Game
constructive algorithms
,
data structures
,
dsu
,
graphs
,
sortings
3000
x277
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x19545
1955D
Inaccurate Subsequence Search
data structures
,
two pointers
1400
x13242
1955B
Progressive Square
constructive algorithms
,
data structures
,
implementation
,
sortings
1000
x24519
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x1869
1951F
Inversion Composition
constructive algorithms
,
data structures
,
greedy
2500
x664
1951B
Battle Cows
binary search
,
data structures
,
greedy
1200
x12476
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x792
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x509
1945G
Cook and Porridge
binary search
,
constructive algorithms
,
data structures
,
implementation
2500
x642
1945F
Kirill and Mushrooms
data structures
,
sortings
1900
x3666
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x64
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x581
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2482
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x8343
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
1936D
Bitwise Paradox
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
3100
x426
1936C
Pokémon Arena
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
2400
x1124
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2497
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x403
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1188
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7269
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3476
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x13981
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x255
1930C
Lexicographically Largest
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
1700
x6488
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1656
1928F
Digital Patterns
combinatorics
,
data structures
,
implementation
,
math
2900
x214
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3803
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1511
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x3865
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18620
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x10310
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2305
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3263
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x6030
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5272
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1142
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3497
1921D
Very Different Array
data structures
,
greedy
,
sortings
,
two pointers
1100
x20181
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x419
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x895
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x746
1919F1
Wine Factory (Easy Version)
data structures
,
greedy
2300
x2042
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3634
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x17045
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4332
1918B
Minimize Inversions
constructive algorithms
,
data structures
,
greedy
,
implementation
,
sortings
900
x22325
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1675
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19692
1916E
Happy Life in University
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2114
1915F
Greetings
data structures
,
divide and conquer
,
sortings
1500
x11800
1915E
Romantic Glasses
data structures
,
greedy
,
math
1300
x18824
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1239
1913F
Palindromic Problem
binary search
,
data structures
,
hashing
,
string suffix structures
,
strings
2800
x290
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2752
1912G
Great City Saint Petersburg
data structures
2400
x422
1912A
Accumulator Apex
data structures
,
implementation
,
sortings
1900
x1904
1910H
Sum of Digits of Sums
*special problem
,
binary search
,
data structures
2400
x81
1909H
Parallel Swaps Sort
constructive algorithms
,
data structures
3500
x61
1909C
Heavy Intervals
constructive algorithms
,
data structures
,
dsu
,
greedy
,
math
,
sortings
1400
x10112
1907B
YetnotherrokenKeoard
data structures
,
implementation
,
strings
1000
x23575
1906F
Maximize The Value
data structures
,
sortings
2100
x945
1905F
Field Should Not Be Empty
brute force
,
data structures
,
divide and conquer
2600
x460
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3545
1904F
Beautiful Tree
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2800
x310
1904E
Tree Queries
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2500
x840
1904D2
Set To Max (Hard Version)
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
sortings
1800
x3889
1904C
Array Game
binary search
,
brute force
,
data structures
,
sortings
,
two pointers
1400
x10872
1903F
Babysitting
2-sat
,
binary search
,
data structures
,
graphs
,
trees
2500
x566
1902F
Trees and XOR Queries Again
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
implementation
,
math
,
trees
2400
x905
1902E
Collapsing Strings
data structures
,
strings
,
trees
1900
x3911
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3722
1900F
Local Deletions
binary search
,
data structures
,
implementation
2800
x262
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x2940
1898E
Sofia and Strings
data structures
,
greedy
,
sortings
,
strings
,
two pointers
2200
x2072
1896E
Permutation Sorting
data structures
,
sortings
2100
x2046
1896D
Ones and Twos
binary search
,
data structures
,
divide and conquer
,
math
,
two pointers
1700
x5264
1895G
Two Characters, Two Colors
binary search
,
data structures
,
dp
,
flows
,
greedy
3100
x176
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1467
1895D
XOR Construction
bitmasks
,
constructive algorithms
,
data structures
,
math
,
string suffix structures
,
trees
1900
x5621
1893D
Colorful Constructive
constructive algorithms
,
data structures
,
greedy
2600
x826
←
1
2
3
...
16
17
→
User lists
Name