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
Before contest
Codeforces Round 935 (Div. 3)
02:10:07
Register now »
→ Filter Problems
Difficulty:
—
hashing
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
1943B
Non-Palindromic Substring
data structures
,
hashing
,
implementation
,
math
,
strings
x2105
1923F
Shrink-Reverse
binary search
,
brute force
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
2800
x284
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1144
1913F
Palindromic Problem
binary search
,
data structures
,
hashing
,
string suffix structures
,
strings
2800
x264
1909G
Pumping Lemma
hashing
,
strings
3000
x295
1906B
Button Pressing
bitmasks
,
constructive algorithms
,
hashing
2600
x420
1899D
Yarik and Musical Notes
hashing
,
math
,
number theory
1300
x11717
1895C
Torn Lucky Ticket
brute force
,
dp
,
hashing
,
implementation
,
math
1400
x9736
1887C
Minimum Array
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
hashing
,
two pointers
2400
x1513
1867F
Most Different Tree
brute force
,
constructive algorithms
,
dfs and similar
,
greedy
,
hashing
2700
x392
1849C
Binary String Copying
binary search
,
brute force
,
data structures
,
hashing
,
strings
1600
x9532
1840E
Character Blocking
data structures
,
hashing
,
implementation
1600
x7325
1830C
Hyperregular Bracket Strings
combinatorics
,
greedy
,
hashing
,
math
,
number theory
,
sortings
2400
x1480
1827C
Palindrome Partition
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
strings
2600
x1104
1801E
Gasoline prices
data structures
,
divide and conquer
,
dsu
,
hashing
,
trees
3000
x421
1800G
Symmetree
dfs and similar
,
hashing
,
implementation
,
trees
2200
x1859
1800F
Dasha and Nightmares
bitmasks
,
hashing
,
meet-in-the-middle
,
strings
1900
x3574
1800D
Remove Two Letters
data structures
,
greedy
,
hashing
,
strings
1200
x21157
1794E
Labeling the Tree with Distances
data structures
,
dp
,
greedy
,
hashing
,
implementation
,
trees
2400
x983
1792D
Fixed Prefix Permutations
binary search
,
bitmasks
,
data structures
,
hashing
,
math
,
sortings
1700
x5747
1780G
Delicious Dessert
binary search
,
dsu
,
hashing
,
math
,
number theory
,
string suffix structures
2400
x653
1773B
BinCoin
binary search
,
divide and conquer
,
hashing
,
implementation
,
probabilities
,
trees
2200
x710
1771F
Hossam and Range Minimum Query
binary search
,
bitmasks
,
data structures
,
hashing
,
probabilities
,
strings
,
trees
2500
x930
1746F
Kazaee
data structures
,
hashing
,
probabilities
2800
x1451
1743G
Antifibonacci Cut
bitmasks
,
combinatorics
,
constructive algorithms
,
data structures
,
dp
,
hashing
,
math
3000
x236
1735D
Meta-set
brute force
,
combinatorics
,
data structures
,
hashing
,
math
1700
x5186
1731C
Even Subarrays
bitmasks
,
brute force
,
hashing
,
math
,
number theory
1700
x8720
1729G
Cut Substrings
combinatorics
,
dp
,
hashing
,
strings
,
two pointers
2100
x2021
1729F
Kirei and the Linear Function
hashing
,
math
1900
x3923
1721E
Prefix Function Queries
dfs and similar
,
dp
,
hashing
,
string suffix structures
,
strings
,
trees
2200
x1775
1704D
Magical Array
constructive algorithms
,
hashing
,
implementation
,
math
1900
x4769
1681D
Required Length
brute force
,
dfs and similar
,
dp
,
hashing
,
shortest paths
1700
x9104
1671E
Preorder
combinatorics
,
divide and conquer
,
dp
,
dsu
,
hashing
,
sortings
,
trees
2100
x2611
1658E
Gojou and Matrix Game
data structures
,
dp
,
games
,
hashing
,
implementation
,
math
,
number theory
,
sortings
2500
x990
1654F
Minimal String Xoration
bitmasks
,
data structures
,
divide and conquer
,
greedy
,
hashing
,
sortings
,
strings
2800
x1017
1650C
Weight of the System of Nested Segments
greedy
,
hashing
,
implementation
,
sortings
1200
x16025
1641D
Two Arrays
bitmasks
,
brute force
,
combinatorics
,
greedy
,
hashing
,
math
,
two pointers
2700
x1020
1634F
Fibonacci Additions
brute force
,
data structures
,
hashing
,
implementation
,
math
2700
x1497
1624E
Masha-forgetful
brute force
,
constructive algorithms
,
dp
,
hashing
,
implementation
,
strings
2000
x3870
1622F
Quadratic Set
constructive algorithms
,
hashing
,
math
,
number theory
2900
x574
1621I
Two Sequences
data structures
,
hashing
,
string suffix structures
3500
x106
1610G
AmShZ Wins a Bet
data structures
,
greedy
,
hashing
3300
x314
1608G
Alphabetic Tree
binary search
,
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
3500
x144
1599F
Mars
hashing
2700
x290
1598G
The Sum of Good Numbers
hashing
,
math
,
string suffix structures
,
strings
3200
x312
1574D
The Strongest Build
binary search
,
brute force
,
data structures
,
dfs and similar
,
graphs
,
greedy
,
hashing
,
implementation
2000
x4294
1569F
Palindromic Hamiltonian Path
brute force
,
dfs and similar
,
dp
,
graphs
,
hashing
3000
x210
1569E
Playoff Restoration
bitmasks
,
brute force
,
hashing
,
implementation
,
meet-in-the-middle
2600
x774
1553G
Common Divisor Graph
brute force
,
constructive algorithms
,
dsu
,
graphs
,
hashing
,
math
,
number theory
2700
x958
1553B
Reverse String
brute force
,
dp
,
hashing
,
implementation
,
strings
1300
x13711
1538E
Funny Substrings
data structures
,
hashing
,
implementation
,
matrices
,
strings
2100
x2769
1537E2
Erase and Extend (Hard Version)
binary search
,
data structures
,
greedy
,
hashing
,
string suffix structures
,
strings
,
two pointers
2200
x4884
1537E1
Erase and Extend (Easy Version)
binary search
,
brute force
,
dp
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
1600
x12016
1536C
Diluc and Kaeya
data structures
,
dp
,
hashing
,
number theory
1500
x13411
1535F
String Distance
binary search
,
brute force
,
data structures
,
hashing
,
implementation
,
strings
3000
x418
1533D
String Searching
*special problem
,
hashing
x433
1527C
Sequence Pair Weight
hashing
,
implementation
,
math
1600
x12970
1520D
Same Differences
data structures
,
hashing
,
math
1200
x41336
1500A
Going Home
brute force
,
hashing
,
implementation
,
math
1800
x8440
1494E
A-Z Graph
constructive algorithms
,
data structures
,
graphs
,
hashing
2400
x1642
1493D
GCD of an Array
brute force
,
data structures
,
hashing
,
implementation
,
math
,
number theory
,
sortings
,
two pointers
2100
x4675
1476G
Minimum Difference
data structures
,
hashing
,
sortings
,
two pointers
3100
x515
1476E
Pattern Matching
bitmasks
,
data structures
,
dfs and similar
,
graphs
,
hashing
,
sortings
,
strings
2300
x2217
1470B
Strange Definition
bitmasks
,
graphs
,
hashing
,
math
,
number theory
1900
x6100
1469E
A Bit Similar
bitmasks
,
brute force
,
hashing
,
string suffix structures
,
strings
,
two pointers
2400
x1832
1468F
Full Turn
geometry
,
hashing
,
number theory
1700
x3532
1466G
Song of the Sirens
combinatorics
,
divide and conquer
,
hashing
,
math
,
string suffix structures
,
strings
2600
x836
1451C
String Equality
dp
,
greedy
,
hashing
,
implementation
,
strings
1400
x15096
1418G
Three Occurrences
data structures
,
divide and conquer
,
hashing
,
two pointers
2500
x1412
1394B
Boboniu Walks on Graph
brute force
,
dfs and similar
,
graphs
,
hashing
2300
x1772
1393E2
Twilight and Ancient Scroll (harder version)
dp
,
hashing
,
implementation
,
string suffix structures
,
strings
,
two pointers
3200
x336
1393E1
Twilight and Ancient Scroll (easier version)
dp
,
hashing
,
implementation
,
string suffix structures
,
strings
2800
x358
1360F
Spy-string
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
hashing
,
strings
1700
x11723
1340F
Nastya and CBS
brute force
,
data structures
,
hashing
3300
x464
1326D2
Prefix-Suffix Palindrome (Hard version)
binary search
,
greedy
,
hashing
,
string suffix structures
,
strings
1800
x9378
1326D1
Prefix-Suffix Palindrome (Easy version)
hashing
,
string suffix structures
,
strings
1500
x11503
1322C
Instant Noodles
graphs
,
hashing
,
math
,
number theory
2300
x2041
1320D
Reachable Strings
data structures
,
hashing
,
strings
2500
x1175
1313E
Concatenation with intersection
data structures
,
hashing
,
strings
,
two pointers
2700
x503
1286C2
Madhouse (Hard version)
brute force
,
constructive algorithms
,
hashing
,
interactive
,
math
2800
x603
1284D
New Year and Conference
binary search
,
data structures
,
hashing
,
sortings
2100
x2852
1277D
Let's Play the Words?
data structures
,
hashing
,
implementation
,
math
1900
x2909
1257F
Make Them Similar
bitmasks
,
brute force
,
hashing
,
meet-in-the-middle
2400
x1906
1252F
Regular Forestation
hashing
,
trees
2400
x861
1228D
Complete Tripartite
brute force
,
constructive algorithms
,
graphs
,
hashing
,
implementation
1900
x4956
1225D
Power Products
hashing
,
math
,
number theory
1800
x7237
1223F
Stack Exterminable Arrays
data structures
,
divide and conquer
,
dp
,
hashing
2600
x1919
1214D
Treasure Island
dfs and similar
,
dp
,
flows
,
hashing
1900
x4904
1207G
Indie Album
data structures
,
dfs and similar
,
hashing
,
string suffix structures
,
strings
,
trees
2700
x923
1200E
Compress Words
brute force
,
hashing
,
implementation
,
string suffix structures
,
strings
2000
x6720
1182D
Complete Mirror
constructive algorithms
,
dfs and similar
,
dp
,
hashing
,
implementation
,
trees
2400
x775
1175F
The Number of Subpermutations
brute force
,
data structures
,
divide and conquer
,
hashing
,
math
2500
x1497
1166F
Vicky's Delivery Service
data structures
,
dsu
,
graphs
,
hashing
2400
x679
1156G
Optimizer
graphs
,
greedy
,
hashing
,
implementation
2700
x115
1137B
Camp Schedule
greedy
,
hashing
,
strings
1600
x5503
1133D
Zero Quantity Maximization
hashing
,
math
,
number theory
1500
x10371
1129C
Morse Code
binary search
,
data structures
,
dp
,
hashing
,
sortings
,
string suffix structures
,
strings
2400
x882
1109B
Sasha and One More Name
constructive algorithms
,
hashing
,
strings
1800
x4230
1081H
Palindromic Magic
data structures
,
hashing
,
strings
3500
x96
1056E
Check Transcription
brute force
,
data structures
,
hashing
,
strings
2100
x1931
←
1
2
→
User lists
Name