Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (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
1956F
Nene and the Passing Game
constructive algorithms
,
data structures
,
dsu
,
graphs
,
sortings
3000
x137
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x15539
1955D
Inaccurate Subsequence Search
data structures
,
two pointers
1400
x10987
1955B
Progressive Square
constructive algorithms
,
data structures
,
implementation
,
sortings
1000
x20702
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x1286
1951F
Inversion Composition
constructive algorithms
,
data structures
,
greedy
2500
x576
1951B
Battle Cows
binary search
,
data structures
,
greedy
1200
x10817
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x711
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x445
1945G
Cook and Porridge
binary search
,
constructive algorithms
,
data structures
,
implementation
2500
x578
1945F
Kirill and Mushrooms
data structures
,
sortings
1900
x3379
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x52
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x499
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2271
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x7836
1940D
Almost Certainly
*special problem
,
constructive algorithms
,
data structures
,
sortings
x120
1940C
Burenka and Pether
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
x29
1936D
Bitwise Paradox
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
3100
x393
1936C
Pokémon Arena
data structures
,
graphs
,
greedy
,
implementation
,
shortest paths
,
sortings
2400
x1025
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2330
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x357
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1115
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x6911
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3255
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x13255
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x212
1930C
Lexicographically Largest
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
1700
x6268
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1589
1928F
Digital Patterns
combinatorics
,
data structures
,
implementation
,
math
2900
x200
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3659
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1459
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x3655
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x17892
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x9636
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2225
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3055
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x5697
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5089
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1094
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3372
1921D
Very Different Array
data structures
,
greedy
,
sortings
,
two pointers
1100
x19741
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x388
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x862
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x726
1919F1
Wine Factory (Easy Version)
data structures
,
greedy
2300
x1993
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3549
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x16568
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4177
1918B
Minimize Inversions
constructive algorithms
,
data structures
,
greedy
,
implementation
,
sortings
900
x21832
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1629
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19080
1916E
Happy Life in University
data structures
,
dfs and similar
,
greedy
,
trees
2300
x2067
1915F
Greetings
data structures
,
divide and conquer
,
sortings
1500
x11313
1915E
Romantic Glasses
data structures
,
greedy
,
math
1300
x18103
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1187
1913F
Palindromic Problem
binary search
,
data structures
,
hashing
,
string suffix structures
,
strings
2800
x283
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2654
1912G
Great City Saint Petersburg
data structures
2400
x411
1912A
Accumulator Apex
data structures
,
implementation
,
sortings
1900
x1819
1910H
Sum of Digits of Sums
*special problem
,
binary search
,
data structures
2400
x77
1909H
Parallel Swaps Sort
constructive algorithms
,
data structures
3500
x56
1909C
Heavy Intervals
constructive algorithms
,
data structures
,
dsu
,
greedy
,
math
,
sortings
1400
x9799
1907B
YetnotherrokenKeoard
data structures
,
implementation
,
strings
1000
x22908
1906F
Maximize The Value
data structures
,
sortings
2100
x910
1905F
Field Should Not Be Empty
brute force
,
data structures
,
divide and conquer
2600
x439
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3426
1904F
Beautiful Tree
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2800
x298
1904E
Tree Queries
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2500
x789
1904D2
Set To Max (Hard Version)
constructive algorithms
,
data structures
,
divide and conquer
,
greedy
,
implementation
,
sortings
1800
x3715
1904C
Array Game
binary search
,
brute force
,
data structures
,
sortings
,
two pointers
1400
x10339
1903F
Babysitting
2-sat
,
binary search
,
data structures
,
graphs
,
trees
2500
x546
1902F
Trees and XOR Queries Again
data structures
,
dfs and similar
,
divide and conquer
,
graphs
,
implementation
,
math
,
trees
2400
x871
1902E
Collapsing Strings
data structures
,
strings
,
trees
1900
x3685
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3599
1900F
Local Deletions
binary search
,
data structures
,
implementation
2800
x252
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x2856
1898E
Sofia and Strings
data structures
,
greedy
,
sortings
,
strings
,
two pointers
2200
x2011
1896E
Permutation Sorting
data structures
,
sortings
2100
x1975
1896D
Ones and Twos
binary search
,
data structures
,
divide and conquer
,
math
,
two pointers
1700
x5101
1895G
Two Characters, Two Colors
binary search
,
data structures
,
dp
,
flows
,
greedy
3100
x167
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1436
1895D
XOR Construction
bitmasks
,
constructive algorithms
,
data structures
,
math
,
string suffix structures
,
trees
1900
x5492
1893D
Colorful Constructive
constructive algorithms
,
data structures
,
greedy
2600
x803
1891F
A Growing Tree
data structures
,
dfs and similar
,
trees
2000
x3326
1889F
Doremy's Average Tree
data structures
,
dp
,
greedy
,
trees
3500
x67
1889C2
Doremy's Drying Plan (Hard Version)
data structures
,
dp
2600
x863
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x2950
1887D
Split
binary search
,
data structures
,
divide and conquer
,
dsu
,
math
,
trees
,
two pointers
2700
x794
1887C
Minimum Array
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
hashing
,
two pointers
2400
x1551
1886F
Diamond Theft
data structures
,
greedy
3300
x157
1886D
Monocarp and the Set
combinatorics
,
data structures
,
math
2100
x3284
1884C
Medium Design
brute force
,
data structures
,
dp
,
greedy
,
sortings
1700
x5347
1883F
You Are So Beautiful
data structures
1400
x8077
1883D
In Love
data structures
,
greedy
1500
x9777
1881G
Anya and the Mysterious String
binary search
,
data structures
2000
x2134
1879F
Last Man Standing
brute force
,
data structures
,
number theory
2800
x465
1878G
wxhtzdy ORO Tree
binary search
,
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
implementation
,
trees
2300
x1079
1878E
Iva & Pav
binary search
,
bitmasks
,
data structures
,
greedy
1400
x10834
1878D
Reverse Madness
data structures
,
greedy
1600
x7443
1876G
Clubstep
binary search
,
brute force
,
data structures
,
greedy
,
trees
3500
x114
←
1
2
3
...
16
17
→
User lists
Name