Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2) and CodeCraft-23
2 days
Register now »
*has extra registration
→ 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
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x2367
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x2726
1951D
Buying Jewels
constructive algorithms
,
greedy
,
math
2000
x4319
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2463
1943B
Non-Palindromic Substring
hashing
,
implementation
,
math
,
strings
2000
x3083
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2279
1941G
Rudolf and Subway
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2000
x2804
1938J
There and Back Again
2100
x1086
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2334
1934D1
XOR Break --- Solo Version
bitmasks
,
constructive algorithms
,
greedy
2100
x2975
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2126
1931G
One-Dimensional Puzzle
combinatorics
,
math
,
number theory
2000
x2388
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2318
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2227
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3065
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2311
1919H
Tree Diameter
interactive
,
trees
2000
x126
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3553
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1634
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2658
1912B
Blueprint for Seating
combinatorics
,
divide and conquer
,
math
2100
x898
1910F
Build Railway Stations
*special problem
,
greedy
,
trees
2000
x153
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x166
1906J
Count BFS Graph
combinatorics
,
dp
2100
x617
1906F
Maximize The Value
data structures
,
sortings
2100
x910
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3431
1903E
Geo Game
greedy
,
interactive
,
math
2000
x1772
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1767
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3638
1896E
Permutation Sorting
data structures
,
sortings
2100
x1980
1893C
Freedom of Choice
brute force
,
greedy
,
implementation
2000
x2399
1891F
A Growing Tree
data structures
,
dfs and similar
,
trees
2000
x3333
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x2953
1886D
Monocarp and the Set
combinatorics
,
data structures
,
math
2100
x3286
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2764
1881G
Anya and the Mysterious String
binary search
,
data structures
2000
x2136
1876C
Autosynthesis
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
sortings
2100
x2113
1872G
Replace With Product
brute force
,
greedy
,
math
2000
x3928
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2253
1867E1
Salyg1n and Array (simple version)
constructive algorithms
,
interactive
,
math
2000
x3477
1866H
Happy Sets
combinatorics
2100
x1512
1866G
Grouped Carriages
binary search
,
data structures
,
dp
,
flows
,
greedy
2100
x1491
1864E
Guess Game
bitmasks
,
data structures
,
games
,
math
,
probabilities
,
sortings
,
strings
,
trees
2100
x2454
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2589
1862G
The Great Equalizer
binary search
,
data structures
,
math
,
sortings
2000
x2613
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x4032
1856D
More Wrong
divide and conquer
,
interactive
2100
x3056
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x2887
1841D
Pairs of Segments
data structures
,
greedy
,
sortings
,
two pointers
2000
x4105
1839D
Ball Sorting
data structures
,
dp
,
sortings
2100
x2159
1838D
Bracket Walk
data structures
,
greedy
,
strings
2100
x3039
1832D1
Red-Blue Operations (Easy Version)
binary search
,
greedy
,
implementation
,
math
2100
x2776
1830B
The BOSS Can Count Pairs
brute force
,
math
2000
x4554
1827B1
Range Sorting (Easy Version)
binary search
,
dp
,
dsu
,
greedy
,
trees
,
two pointers
2000
x3629
1821E
Rearrange Brackets
brute force
,
dp
,
greedy
,
sortings
,
strings
2100
x2218
1815B
Sum Graph
brute force
,
constructive algorithms
,
graphs
,
implementation
,
interactive
,
shortest paths
,
trees
2000
x2821
1811G1
Vlad and the Nice Paths (easy version)
combinatorics
,
dp
,
math
2100
x1891
1811F
Is It Flower?
dfs and similar
,
graphs
,
implementation
2100
x1712
1810E
Monsters
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
2100
x2948
1808D
Petya, Petya, Petr, and Palindromes
binary search
,
brute force
,
data structures
,
two pointers
2100
x2126
1804D
Accommodation
brute force
,
dp
,
greedy
,
implementation
2000
x4400
1801D
The way home
binary search
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x2022
1799D2
Hot Start Up (hard version)
data structures
,
dp
2100
x2248
1796D
Maximum Subarray
data structures
,
dp
,
greedy
,
two pointers
2000
x3845
1790F
Timofey and Black-White Tree
brute force
,
dfs and similar
,
divide and conquer
,
graphs
,
greedy
,
math
,
shortest paths
,
trees
2100
x3112
1788D
Moving Dots
binary search
,
brute force
,
combinatorics
,
math
,
two pointers
2000
x3691
1787E
The Harmonization of XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
2100
x2162
1783D
Different Arrays
brute force
,
dp
,
implementation
2000
x4143
1778D
Flexible String Revisit
combinatorics
,
dp
,
math
,
probabilities
2100
x2524
1776G
Another Wine Tasting Event
combinatorics
,
constructive algorithms
,
math
,
strings
2100
x1938
1775E
The Human Equation
greedy
,
implementation
2100
x3002
1772F
Copy of a Copy of a Copy
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
,
sortings
2000
x2213
1771D
Hossam and (sub-)palindromic tree
brute force
,
data structures
,
dfs and similar
,
dp
,
strings
,
trees
2100
x2579
1770D
Koxia and Game
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
flows
,
games
,
graph matchings
,
graphs
,
implementation
2000
x3645
1767C
Count Binary Strings
data structures
,
dp
2100
x2481
1764D
Doremy's Pegging Game
combinatorics
,
dp
,
math
2000
x2626
1763C
Another Array Problem
brute force
,
constructive algorithms
,
greedy
2000
x6248
1762D
GCD Queries
constructive algorithms
,
interactive
,
number theory
2100
x3267
1761D
Carry Bit
combinatorics
,
math
2100
x2312
1753C
Wish I Knew How to Sort
dp
,
math
,
probabilities
2000
x4137
1748D
ConstructOR
bitmasks
,
chinese remainder theorem
,
combinatorics
,
constructive algorithms
,
math
,
number theory
2100
x2644
1744F
MEX vs MED
math
,
two pointers
2000
x2861
1741F
Multi-Colored Segments
binary search
,
data structures
,
math
,
sortings
2000
x2203
1734E
Rectangular Congruence
constructive algorithms
,
number theory
2100
x2744
1733D2
Zero-One (Hard Version)
dp
,
greedy
2000
x3949
1732C2
Sheikh (Hard Version)
binary search
,
bitmasks
,
brute force
,
greedy
,
implementation
,
two pointers
2100
x2441
1731E
Graph Cost
dp
,
greedy
,
math
,
number theory
2000
x2635
1729G
Cut Substrings
combinatorics
,
dp
,
hashing
,
strings
,
two pointers
2100
x2042
1726D
Edge Split
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
probabilities
,
trees
2000
x3524
1725F
Field Photography
bitmasks
,
data structures
,
sortings
2100
x931
1725C
Circular Mirror
binary search
,
combinatorics
,
geometry
,
math
,
two pointers
2000
x1529
1718B
Fibonacci Strings
greedy
,
implementation
,
math
,
number theory
2000
x2860
1716D
Chip Move
brute force
,
dp
,
math
2000
x4963
1716C
Robot in a Hallway
data structures
,
dp
,
greedy
,
implementation
,
ternary search
2000
x3993
1712D
Empty Graph
binary search
,
constructive algorithms
,
data structures
,
greedy
,
shortest paths
2000
x4241
1710B
Rain
binary search
,
brute force
,
data structures
,
geometry
,
greedy
,
implementation
,
math
2100
x2344
1702G2
Passable Paths (hard version)
data structures
,
dfs and similar
,
trees
2000
x4258
1696E
Placing Jinas
combinatorics
,
math
2000
x3809
1690G
Count the Trains
binary search
,
data structures
,
greedy
,
sortings
2000
x3213
1685B
Linguistics
greedy
,
implementation
,
sortings
,
strings
2000
x3147
←
1
2
3
...
8
9
→
User lists
Name