Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler.
×
→ Pay attention
Contest is running
Codeforces Round 935 (Div. 3)
00:04:18
Register now »
→ Filter Problems
Difficulty:
—
brute force
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
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
trees
x271
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
x5866
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
x11034
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
x16091
1948A
Special Characters
brute force
,
constructive algorithms
x21149
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
x157
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x23159
1941A
Rudolf and the Ticket
brute force
,
math
800
x34991
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x934
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x6165
1934E
Weird LCM Operations
brute force
,
constructive algorithms
,
number theory
3000
x136
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x14981
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x746
1933C
Turtle Fingers: Count the Values of k
brute force
,
implementation
,
math
,
number theory
1100
x18948
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x12257
1931C
Make Equal Again
brute force
,
greedy
,
math
1000
x24463
1931A
Recovering a Small String
brute force
,
strings
800
x32254
1930F
Maximize the Difference
bitmasks
,
brute force
,
dfs and similar
2700
x541
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3392
1930B
Permutation Printing
brute force
,
constructive algorithms
,
math
1000
x12457
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1499
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1359
1929C
Sasha and the Casino
binary search
,
brute force
,
constructive algorithms
,
games
,
greedy
,
math
1400
x12404
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1388
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3451
1928C
Physical Education Lesson
brute force
,
math
,
number theory
1600
x6864
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x17122
1927C
Choose the Different Ones!
brute force
,
greedy
,
math
1000
x24383
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1280
1925B
A Balanced Problemset?
brute force
,
greedy
,
math
,
number theory
1200
x17455
1923F
Shrink-Reverse
binary search
,
brute force
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
2800
x284
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x4921
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1039
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3252
1921E
Eat the Chip
brute force
,
games
,
greedy
,
math
1600
x8481
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x831
1920D
Array Repetition
binary search
,
brute force
,
dsu
,
implementation
,
math
1900
x4848
1920C
Partitioning the Array
brute force
,
math
,
number theory
1600
x11159
1920A
Satisfying Constraints
brute force
,
greedy
,
math
800
x25787
1917C
Watering an Array
brute force
,
greedy
,
implementation
,
math
1600
x8977
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x18289
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x564
1916D
Mathematical Problem
brute force
,
constructive algorithms
,
geometry
,
math
1700
x7650
1915B
Not Quite Latin Square
bitmasks
,
brute force
,
implementation
800
x36720
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1577
1914E1
Game with Marbles (Easy Version)
brute force
,
games
,
greedy
,
sortings
1400
x10669
1914D
Three Activities
brute force
,
dp
,
greedy
,
implementation
,
sortings
1200
x16856
1913C
Game with Multiset
binary search
,
bitmasks
,
brute force
,
greedy
1300
x12962
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1563
1909E
Multiple Lamps
bitmasks
,
brute force
,
constructive algorithms
,
math
,
number theory
2400
x1191
1907G
Lights
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
2200
x1675
1907E
Good Triples
brute force
,
combinatorics
,
number theory
1600
x8269
1906A
Easy As ABC
brute force
1000
x3277
1905F
Field Should Not Be Empty
brute force
,
data structures
,
divide and conquer
2600
x423
1904D1
Set To Max (Easy Version)
brute force
,
constructive algorithms
,
greedy
1600
x5295
1904C
Array Game
binary search
,
brute force
,
data structures
,
sortings
,
two pointers
1400
x9732
1904A
Forked!
brute force
,
implementation
900
x14365
1903D1
Maximum And Queries (easy version)
binary search
,
bitmasks
,
brute force
,
greedy
1700
x4811
1903B
StORage room
bitmasks
,
brute force
,
constructive algorithms
,
greedy
1200
x10872
1903A
Halloumi Boxes
brute force
,
greedy
,
sortings
800
x21062
1902C
Insert and Equalize
brute force
,
constructive algorithms
,
greedy
,
math
,
number theory
1300
x11701
1902B
Getting Points
binary search
,
brute force
,
greedy
1100
x12858
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3494
1899B
250 Thousand Tons of TNT
brute force
,
implementation
,
number theory
1100
x17218
1898F
Vova Escapes the Matrix
brute force
,
dfs and similar
,
divide and conquer
,
shortest paths
2600
x713
1898A
Milica and String
brute force
,
implementation
,
strings
800
x14655
1896H2
Cyclic Hamming (Hard Version)
brute force
,
dp
,
fft
,
math
,
number theory
3500
x77
1896H1
Cyclic Hamming (Easy Version)
brute force
,
divide and conquer
,
dp
,
fft
,
math
,
number theory
3400
x71
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1411
1895C
Torn Lucky Ticket
brute force
,
dp
,
hashing
,
implementation
,
math
1400
x9737
1893C
Freedom of Choice
brute force
,
greedy
,
implementation
2000
x2334
1893A
Anonymous Informant
brute force
,
dfs and similar
,
graphs
,
implementation
1400
x10823
1891E
Brukhovich and Exams
brute force
,
greedy
,
implementation
,
math
,
sortings
2500
x755
1891D
Suspicious logarithms
binary search
,
brute force
,
math
1900
x3602
1891B
Deja Vu
brute force
,
math
,
sortings
1100
x14989
1889D
Game of Stacks
brute force
,
dfs and similar
,
graphs
,
implementation
,
trees
3000
x489
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x2890
1887C
Minimum Array
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
hashing
,
two pointers
2400
x1513
1886A
Sum of Three
brute force
,
constructive algorithms
,
math
800
x24068
1884C
Medium Design
brute force
,
data structures
,
dp
,
greedy
,
sortings
1700
x5178
1884A
Simple Design
brute force
,
greedy
,
math
800
x16098
1882E1
Two Permutations (Easy Version)
brute force
,
constructive algorithms
,
greedy
,
number theory
2400
x929
1882C
Card Game
brute force
,
greedy
1500
x10902
1882B
Sets and Union
bitmasks
,
brute force
,
constructive algorithms
,
greedy
1300
x13912
1881C
Perfect Square
brute force
,
implementation
1200
x15401
1881A
Don't Try to Count
brute force
,
strings
800
x25604
1879F
Last Man Standing
brute force
,
data structures
,
number theory
2800
x458
1879E
Interactive Game with Coloring
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
,
interactive
,
trees
2400
x1160
1878G
wxhtzdy ORO Tree
binary search
,
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
implementation
,
trees
2300
x1053
1878F
Vasilije Loves Number Theory
brute force
,
math
,
number theory
1900
x3580
1876G
Clubstep
binary search
,
brute force
,
data structures
,
greedy
,
trees
3500
x106
1875A
Jellyfish and Undertale
brute force
,
greedy
900
x20236
1874B
Jellyfish and Math
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x1026
1874A
Jellyfish and Game
brute force
,
games
,
greedy
,
implementation
1200
x15297
1873B
Good Kid
brute force
,
greedy
,
math
800
x42349
1873A
Short Sort
brute force
,
implementation
800
x46432
1872G
Replace With Product
brute force
,
greedy
,
math
2000
x3853
1872A
Two Vessels
brute force
,
greedy
,
math
800
x36560
1870E
Another MEX Problem
bitmasks
,
brute force
,
dp
,
shortest paths
2300
x2149
1867F
Most Different Tree
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
,
hashing
2700
x392
←
1
2
3
...
15
16
→
User lists
Name