Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 945 (Div. 2)
3 days
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
1971G
XOUR
data structures
,
dsu
,
sortings
x4837
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x899
1969D
Shop Game
data structures
,
greedy
,
math
,
sortings
1900
x3182
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1312
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x2964
1968F
Equal XOR Segments
binary search
,
data structures
1800
x3672
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x27
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1224
1965F
Conference
data structures
,
flows
3300
x71
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x279
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x340
1956F
Nene and the Passing Game
constructive algorithms
,
data structures
,
dsu
,
graphs
,
sortings
3000
x260
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x18922
1955D
Inaccurate Subsequence Search
data structures
,
two pointers
1400
x12811
1955B
Progressive Square
constructive algorithms
,
data structures
,
implementation
,
sortings
1000
x23795
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x1789
1951F
Inversion Composition
constructive algorithms
,
data structures
,
greedy
2500
x649
1951B
Battle Cows
binary search
,
data structures
,
greedy
1200
x12059
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x776
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
x3577
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x59
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x558
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2423
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x8177
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
x416
1936C
Pokémon Arena
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
2400
x1097
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2453
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x392
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1171
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7137
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3401
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x13710
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x250
1930C
Lexicographically Largest
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
1700
x6412
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1629
1928F
Digital Patterns
combinatorics
,
data structures
,
implementation
,
math
2900
x210
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3754
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1493
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x3808
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18314
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x10067
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2280
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3188
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x5912
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5231
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1128
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3457
1921D
Very Different Array
data structures
,
greedy
,
sortings
,
two pointers
1100
x20007
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x404
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x879
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x741
1919F1
Wine Factory (Easy Version)
data structures
,
greedy
2300
x2029
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3603
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x16849
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4273
1918B
Minimize Inversions
constructive algorithms
,
data structures
,
greedy
,
implementation
,
sortings
900
x22143
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1658
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19437
1916E
Happy Life in University
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2101
1915F
Greetings
data structures
,
divide and conquer
,
sortings
1500
x11644
1915E
Romantic Glasses
data structures
,
greedy
,
math
1300
x18543
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1226
1913F
Palindromic Problem
binary search
,
data structures
,
hashing
,
string suffix structures
,
strings
2800
x288
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2710
1912G
Great City Saint Petersburg
data structures
2400
x418
1912A
Accumulator Apex
data structures
,
implementation
,
sortings
1900
x1883
1910H
Sum of Digits of Sums
*special problem
,
binary search
,
data structures
2400
x79
1909H
Parallel Swaps Sort
constructive algorithms
,
data structures
3500
x61
1909C
Heavy Intervals
constructive algorithms
,
data structures
,
dsu
,
greedy
,
math
,
sortings
1400
x9974
1907B
YetnotherrokenKeoard
data structures
,
implementation
,
strings
1000
x23320
1906F
Maximize The Value
data structures
,
sortings
2100
x938
1905F
Field Should Not Be Empty
brute force
,
data structures
,
divide and conquer
2600
x456
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3506
1904F
Beautiful Tree
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2800
x308
1904E
Tree Queries
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2500
x824
1904D2
Set To Max (Hard Version)
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
sortings
1800
x3822
1904C
Array Game
binary search
,
brute force
,
data structures
,
sortings
,
two pointers
1400
x10662
1903F
Babysitting
2-sat
,
binary search
,
data structures
,
graphs
,
trees
2500
x557
1902F
Trees and XOR Queries Again
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
implementation
,
math
,
trees
2400
x896
1902E
Collapsing Strings
data structures
,
strings
,
trees
1900
x3761
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3678
1900F
Local Deletions
binary search
,
data structures
,
implementation
2800
x260
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x2913
1898E
Sofia and Strings
data structures
,
greedy
,
sortings
,
strings
,
two pointers
2200
x2052
1896E
Permutation Sorting
data structures
,
sortings
2100
x2019
1896D
Ones and Twos
binary search
,
data structures
,
divide and conquer
,
math
,
two pointers
1700
x5192
1895G
Two Characters, Two Colors
binary search
,
data structures
,
dp
,
flows
,
greedy
3100
x172
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1455
1895D
XOR Construction
bitmasks
,
constructive algorithms
,
data structures
,
math
,
string suffix structures
,
trees
1900
x5582
1893D
Colorful Constructive
constructive algorithms
,
data structures
,
greedy
2600
x819
1891F
A Growing Tree
data structures
,
dfs and similar
,
trees
2000
x3380
1889F
Doremy's Average Tree
data structures
,
dp
,
greedy
,
trees
3500
x68
1889C2
Doremy's Drying Plan (Hard Version)
data structures
,
dp
2600
x889
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x3013
1887D
Split
binary search
,
data structures
,
divide and conquer
,
dsu
,
math
,
trees
,
two pointers
2700
x817
1887C
Minimum Array
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
hashing
,
two pointers
2400
x1578
←
1
2
3
...
16
17
→
User lists
Name