Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 937 (Div. 4)
01:03:11
Register now »
→ Filter Problems
Difficulty:
—
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
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2164
1943B
Non-Palindromic Substring
hashing
,
implementation
,
math
,
strings
2000
x2692
1941G
Rudolf and Subway
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2000
x2541
1938J
There and Back Again
2100
x1014
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2168
1934D1
XOR Break --- Solo Version
bitmasks
,
constructive algorithms
,
greedy
2100
x2820
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2009
1931G
One-Dimensional Puzzle
combinatorics
,
math
,
number theory
2000
x2308
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2253
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2174
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x2873
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2242
1919H
Tree Diameter
interactive
,
trees
2000
x118
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3503
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1593
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2566
1912B
Blueprint for Seating
combinatorics
,
divide and conquer
,
math
2100
x851
1910F
Build Railway Stations
*special problem
,
greedy
,
trees
2000
x151
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x166
1906J
Count BFS Graph
combinatorics
,
dp
2100
x600
1906F
Maximize The Value
data structures
,
sortings
2100
x874
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3345
1903E
Geo Game
greedy
,
interactive
,
math
2000
x1699
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1707
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3524
1896E
Permutation Sorting
data structures
,
sortings
2100
x1934
1893C
Freedom of Choice
brute force
,
greedy
,
implementation
2000
x2351
1891F
A Growing Tree
data structures
,
dfs and similar
,
trees
2000
x3269
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x2911
1886D
Monocarp and the Set
combinatorics
,
data structures
,
math
2100
x3235
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2707
1881G
Anya and the Mysterious String
binary search
,
data structures
2000
x2092
1876C
Autosynthesis
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
sortings
2100
x2083
1872G
Replace With Product
brute force
,
greedy
,
math
2000
x3875
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2244
1867E1
Salyg1n and Array (simple version)
constructive algorithms
,
interactive
,
math
2000
x3433
1866H
Happy Sets
combinatorics
2100
x1489
1866G
Grouped Carriages
binary search
,
data structures
,
dp
,
flows
,
greedy
2100
x1463
1864E
Guess Game
bitmasks
,
data structures
,
games
,
math
,
probabilities
,
sortings
,
strings
,
trees
2100
x2438
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2560
1862G
The Great Equalizer
binary search
,
data structures
,
math
,
sortings
2000
x2568
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x3966
1856D
More Wrong
divide and conquer
,
interactive
2100
x3028
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x2830
1841D
Pairs of Segments
data structures
,
greedy
,
sortings
,
two pointers
2000
x4034
1839D
Ball Sorting
data structures
,
dp
,
sortings
2100
x2135
1838D
Bracket Walk
data structures
,
greedy
,
strings
2100
x3017
1832D1
Red-Blue Operations (Easy Version)
binary search
,
greedy
,
implementation
,
math
2100
x2754
1830B
The BOSS Can Count Pairs
brute force
,
math
2000
x4503
1827B1
Range Sorting (Easy Version)
binary search
,
dp
,
dsu
,
greedy
,
trees
,
two pointers
2000
x3603
1821E
Rearrange Brackets
brute force
,
dp
,
greedy
,
sortings
,
strings
2100
x2178
1815B
Sum Graph
brute force
,
constructive algorithms
,
graphs
,
implementation
,
interactive
,
shortest paths
,
trees
2000
x2800
1811G1
Vlad and the Nice Paths (easy version)
combinatorics
,
dp
,
math
2100
x1874
1811F
Is It Flower?
dfs and similar
,
graphs
,
implementation
2100
x1701
1810E
Monsters
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
2100
x2920
1808D
Petya, Petya, Petr, and Palindromes
binary search
,
brute force
,
data structures
,
two pointers
2100
x2106
1804D
Accommodation
brute force
,
dp
,
greedy
,
implementation
2000
x4366
1801D
The way home
binary search
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x1996
1799D2
Hot Start Up (hard version)
data structures
,
dp
2100
x2225
1796D
Maximum Subarray
data structures
,
dp
,
greedy
,
two pointers
2000
x3788
1790F
Timofey and Black-White Tree
brute force
,
dfs and similar
,
divide and conquer
,
graphs
,
greedy
,
math
,
shortest paths
,
trees
2100
x3075
1788D
Moving Dots
binary search
,
brute force
,
combinatorics
,
math
,
two pointers
2000
x3649
1787E
The Harmonization of XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
2100
x2142
1783D
Different Arrays
brute force
,
dp
,
implementation
2000
x4115
1778D
Flexible String Revisit
combinatorics
,
dp
,
math
,
probabilities
2100
x2491
1776G
Another Wine Tasting Event
combinatorics
,
constructive algorithms
,
math
,
strings
2100
x1924
1775E
The Human Equation
greedy
,
implementation
2100
x2985
1772F
Copy of a Copy of a Copy
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
,
sortings
2000
x2187
1771D
Hossam and (sub-)palindromic tree
brute force
,
data structures
,
dfs and similar
,
dp
,
strings
,
trees
2100
x2560
1770D
Koxia and Game
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
flows
,
games
,
graph matchings
,
graphs
,
implementation
2000
x3629
1767C
Count Binary Strings
data structures
,
dp
2100
x2465
1764D
Doremy's Pegging Game
combinatorics
,
dp
,
math
2000
x2586
1763C
Another Array Problem
brute force
,
constructive algorithms
,
greedy
2000
x6188
1762D
GCD Queries
constructive algorithms
,
interactive
,
number theory
2100
x3245
1761D
Carry Bit
combinatorics
,
math
2100
x2303
1753C
Wish I Knew How to Sort
dp
,
math
,
probabilities
2000
x4105
1748D
ConstructOR
bitmasks
,
chinese remainder theorem
,
combinatorics
,
constructive algorithms
,
math
,
number theory
2100
x2625
1744F
MEX vs MED
math
,
two pointers
2000
x2819
1741F
Multi-Colored Segments
binary search
,
data structures
,
math
,
sortings
2000
x2185
1734E
Rectangular Congruence
constructive algorithms
,
number theory
2100
x2730
1733D2
Zero-One (Hard Version)
dp
,
greedy
2000
x3917
1732C2
Sheikh (Hard Version)
binary search
,
bitmasks
,
brute force
,
greedy
,
implementation
,
two pointers
2100
x2408
1731E
Graph Cost
dp
,
greedy
,
math
,
number theory
2000
x2597
1729G
Cut Substrings
combinatorics
,
dp
,
hashing
,
strings
,
two pointers
2100
x2030
1726D
Edge Split
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
probabilities
,
trees
2000
x3509
1725F
Field Photography
bitmasks
,
data structures
,
sortings
2100
x927
1725C
Circular Mirror
binary search
,
combinatorics
,
geometry
,
math
,
two pointers
2000
x1519
1718B
Fibonacci Strings
greedy
,
implementation
,
math
,
number theory
2000
x2839
1716D
Chip Move
brute force
,
dp
,
math
2000
x4908
1716C
Robot in a Hallway
data structures
,
dp
,
greedy
,
implementation
,
ternary search
2000
x3975
1712D
Empty Graph
binary search
,
constructive algorithms
,
data structures
,
greedy
,
shortest paths
2000
x4216
1710B
Rain
binary search
,
brute force
,
data structures
,
geometry
,
greedy
,
implementation
,
math
2100
x2333
1702G2
Passable Paths (hard version)
data structures
,
dfs and similar
,
trees
2000
x4207
1696E
Placing Jinas
combinatorics
,
math
2000
x3788
1690G
Count the Trains
binary search
,
data structures
,
greedy
,
sortings
2000
x3170
1685B
Linguistics
greedy
,
implementation
,
sortings
,
strings
2000
x3125
1684E
MEX vs DIFF
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
2100
x3006
1682D
Circular Spanning Tree
constructive algorithms
,
implementation
,
trees
2000
x3144
1680E
Moving Chips
bitmasks
,
dp
,
greedy
2000
x3585
1674G
Remove Directed Edges
dfs and similar
,
dp
,
graphs
2000
x2347
←
1
2
3
...
8
9
→
User lists
Name