Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Reminder: in case of any technical issues, you can use the lightweight website
m1.codeforces.com
,
m2.codeforces.com
,
m3.codeforces.com
.
×
→ Pay attention
Contest is running
2023 Post World Finals Online ICPC Challenge powered by Huawei
10 days
Register now »
Contest is running
Codeforces Round 944 (Div. 4)
01:40:28
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
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3147
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x2991
1951D
Buying Jewels
constructive algorithms
,
greedy
,
math
2000
x4660
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2618
1943B
Non-Palindromic Substring
hashing
,
implementation
,
math
,
strings
2000
x3280
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2414
1941G
Rudolf and Subway
constructive algorithms
,
dfs and similar
,
graphs
,
shortest paths
2000
x2949
1938J
There and Back Again
2100
x1111
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2439
1934D1
XOR Break --- Solo Version
bitmasks
,
constructive algorithms
,
greedy
2100
x3073
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2197
1931G
One-Dimensional Puzzle
combinatorics
,
math
,
number theory
2000
x2445
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2363
1924B
Space Harbour
data structures
,
implementation
,
math
,
sortings
2100
x2277
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3177
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2359
1919H
Tree Diameter
interactive
,
trees
2000
x128
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x3600
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1674
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2704
1912B
Blueprint for Seating
combinatorics
,
divide and conquer
,
math
2100
x921
1910F
Build Railway Stations
*special problem
,
greedy
,
trees
2000
x159
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x169
1906J
Count BFS Graph
combinatorics
,
dp
2100
x631
1906F
Maximize The Value
data structures
,
sortings
2100
x934
1905D
Cyclic MEX
data structures
,
implementation
,
math
,
two pointers
2000
x3498
1903E
Geo Game
greedy
,
interactive
,
math
2000
x1800
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1826
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3699
1896E
Permutation Sorting
data structures
,
sortings
2100
x2010
1893C
Freedom of Choice
brute force
,
greedy
,
implementation
2000
x2435
1891F
A Growing Tree
data structures
,
dfs and similar
,
trees
2000
x3375
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x3011
1886D
Monocarp and the Set
combinatorics
,
data structures
,
math
2100
x3327
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2806
1881G
Anya and the Mysterious String
binary search
,
data structures
2000
x2162
1876C
Autosynthesis
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
sortings
2100
x2141
1872G
Replace With Product
brute force
,
greedy
,
math
2000
x3992
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2273
1867E1
Salyg1n and Array (simple version)
constructive algorithms
,
interactive
,
math
2000
x3521
1866H
Happy Sets
combinatorics
2100
x1522
1866G
Grouped Carriages
binary search
,
data structures
,
dp
,
flows
,
greedy
2100
x1505
1864E
Guess Game
bitmasks
,
data structures
,
games
,
math
,
probabilities
,
sortings
,
strings
,
trees
2100
x2465
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2614
1862G
The Great Equalizer
binary search
,
data structures
,
math
,
sortings
2000
x2651
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x4087
1856D
More Wrong
divide and conquer
,
interactive
2100
x3088
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x2929
1841D
Pairs of Segments
data structures
,
greedy
,
sortings
,
two pointers
2000
x4132
1839D
Ball Sorting
data structures
,
dp
,
sortings
2100
x2176
1838D
Bracket Walk
data structures
,
greedy
,
strings
2100
x3080
1832D1
Red-Blue Operations (Easy Version)
binary search
,
greedy
,
implementation
,
math
2100
x2791
1830B
The BOSS Can Count Pairs
brute force
,
math
2000
x4597
1827B1
Range Sorting (Easy Version)
binary search
,
dp
,
dsu
,
greedy
,
trees
,
two pointers
2000
x3665
1821E
Rearrange Brackets
brute force
,
dp
,
greedy
,
sortings
,
strings
2100
x2245
1815B
Sum Graph
brute force
,
constructive algorithms
,
graphs
,
implementation
,
interactive
,
shortest paths
,
trees
2000
x2846
1811G1
Vlad and the Nice Paths (easy version)
combinatorics
,
dp
,
math
2100
x1914
1811F
Is It Flower?
dfs and similar
,
graphs
,
implementation
2100
x1728
1810E
Monsters
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
2100
x2969
1808D
Petya, Petya, Petr, and Palindromes
binary search
,
brute force
,
data structures
,
two pointers
2100
x2168
1804D
Accommodation
brute force
,
dp
,
greedy
,
implementation
2000
x4418
1801D
The way home
binary search
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x2041
1799D2
Hot Start Up (hard version)
data structures
,
dp
2100
x2274
1796D
Maximum Subarray
data structures
,
dp
,
greedy
,
two pointers
2000
x3885
1790F
Timofey and Black-White Tree
brute force
,
dfs and similar
,
divide and conquer
,
graphs
,
greedy
,
math
,
shortest paths
,
trees
2100
x3152
1788D
Moving Dots
binary search
,
brute force
,
combinatorics
,
math
,
two pointers
2000
x3729
1787E
The Harmonization of XOR
bitmasks
,
constructive algorithms
,
greedy
,
math
2100
x2179
1783D
Different Arrays
brute force
,
dp
,
implementation
2000
x4183
1778D
Flexible String Revisit
combinatorics
,
dp
,
math
,
probabilities
2100
x2560
1776G
Another Wine Tasting Event
combinatorics
,
constructive algorithms
,
math
,
strings
2100
x1953
1775E
The Human Equation
greedy
,
implementation
2100
x3029
1772F
Copy of a Copy of a Copy
constructive algorithms
,
dfs and similar
,
graphs
,
implementation
,
sortings
2000
x2231
1771D
Hossam and (sub-)palindromic tree
brute force
,
data structures
,
dfs and similar
,
dp
,
strings
,
trees
2100
x2598
1770D
Koxia and Game
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
flows
,
games
,
graph matchings
,
graphs
,
implementation
2000
x3670
1767C
Count Binary Strings
data structures
,
dp
2100
x2509
1764D
Doremy's Pegging Game
combinatorics
,
dp
,
math
2000
x2641
1763C
Another Array Problem
brute force
,
constructive algorithms
,
greedy
2000
x6285
1762D
GCD Queries
constructive algorithms
,
interactive
,
number theory
2100
x3292
1761D
Carry Bit
combinatorics
,
math
2100
x2329
1753C
Wish I Knew How to Sort
dp
,
math
,
probabilities
2000
x4169
1748D
ConstructOR
bitmasks
,
chinese remainder theorem
,
combinatorics
,
constructive algorithms
,
math
,
number theory
2100
x2664
1744F
MEX vs MED
math
,
two pointers
2000
x2894
1741F
Multi-Colored Segments
binary search
,
data structures
,
math
,
sortings
2000
x2229
1734E
Rectangular Congruence
constructive algorithms
,
number theory
2100
x2762
1733D2
Zero-One (Hard Version)
dp
,
greedy
2000
x3978
1732C2
Sheikh (Hard Version)
binary search
,
bitmasks
,
brute force
,
greedy
,
implementation
,
two pointers
2100
x2458
1731E
Graph Cost
dp
,
greedy
,
math
,
number theory
2000
x2661
1729G
Cut Substrings
combinatorics
,
dp
,
hashing
,
strings
,
two pointers
2100
x2060
1726D
Edge Split
brute force
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
probabilities
,
trees
2000
x3544
1725F
Field Photography
bitmasks
,
data structures
,
sortings
2100
x938
1725C
Circular Mirror
binary search
,
combinatorics
,
geometry
,
math
,
two pointers
2000
x1540
1718B
Fibonacci Strings
greedy
,
implementation
,
math
,
number theory
2000
x2882
1716D
Chip Move
brute force
,
dp
,
math
2000
x4989
1716C
Robot in a Hallway
data structures
,
dp
,
greedy
,
implementation
,
ternary search
2000
x4011
1712D
Empty Graph
binary search
,
constructive algorithms
,
data structures
,
greedy
,
shortest paths
2000
x4268
1710B
Rain
binary search
,
brute force
,
data structures
,
geometry
,
greedy
,
implementation
,
math
2100
x2354
1702G2
Passable Paths (hard version)
data structures
,
dfs and similar
,
trees
2000
x4330
1696E
Placing Jinas
combinatorics
,
math
2000
x3838
1690G
Count the Trains
binary search
,
data structures
,
greedy
,
sortings
2000
x3246
1685B
Linguistics
greedy
,
implementation
,
sortings
,
strings
2000
x3163
←
1
2
3
...
8
9
→
User lists
Name