Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 941 (Div. 1)
30:57:36
Register now »
*has extra registration
Before contest
Codeforces Round 941 (Div. 2)
30:57:35
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
dp
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
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
x767
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
x2959
1957C
How Does the Rook Move?
combinatorics
,
dp
,
math
x6445
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x2822
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x908
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3041
1955F
Unfair Game
dp
,
games
,
greedy
,
math
,
schedules
1800
x5399
1954F
Unique Strings
combinatorics
,
dp
,
math
3100
x176
1954D
Colored Balls
combinatorics
,
dp
,
math
,
sortings
1800
x4442
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x172
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3251
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x19401
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
x1066
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
x80
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x14023
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x20046
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x735
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2010
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x8789
1946B
Maximum Sum
dp
,
greedy
,
math
1100
x17457
1945D
Seraphim the Owl
dp
,
greedy
1300
x11715
1943F
Minimum Hamming Distance
dp
3500
x71
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x553
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1182
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x54
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x348
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2345
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x7973
1941D
Rudolf and the Ball Game
dfs and similar
,
dp
,
implementation
1200
x16299
1941C
Rudolf and the Ugly String
dp
,
greedy
,
strings
900
x29184
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x25951
1939D
Big Persimmon
*special problem
,
dp
,
games
x59
1939A
Draw Polygon Lines
*special problem
,
constructive algorithms
,
dp
,
geometry
,
interactive
x14
1937B
Binary Path
dp
,
greedy
,
implementation
1300
x12859
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7023
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x16342
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2156
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3301
1932A
Thorns and Coins
dp
,
greedy
,
implementation
800
x26285
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x241
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x974
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2338
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3645
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1471
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4100
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1509
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1476
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18041
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x2888
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1444
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x9789
1926C
Vlad and a Sum of Sum of Digits
dp
,
implementation
1200
x22677
1925D
Good Trip
combinatorics
,
dp
,
math
,
probabilities
1900
x3182
1924F
Anti-Proxy Attendance
constructive algorithms
,
dp
,
interactive
,
ternary search
3500
x123
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x750
1924A
Did We Get Everything Covered?
constructive algorithms
,
dp
,
greedy
,
shortest paths
,
strings
1500
x12188
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3104
1923B
Monsters Attack!
dp
,
greedy
,
implementation
1100
x15983
1922F
Replace on Segment
dp
,
graph matchings
2500
x1145
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1108
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3404
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2330
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x730
1919E
Counting Prefixes
combinatorics
,
constructive algorithms
,
dp
,
implementation
,
math
2600
x760
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x16672
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4203
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x884
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1642
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19206
1916H2
Matrix Rank (Hard Version)
combinatorics
,
dp
,
math
,
matrices
,
string suffix structures
2700
x499
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x581
1916G
Optimizations From Chelsu
divide and conquer
,
dp
,
number theory
,
trees
3500
x132
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1207
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1651
1914F
Programming Competition
dfs and similar
,
dp
,
graph matchings
,
greedy
,
trees
1900
x3636
1914D
Three Activities
brute force
,
dp
,
greedy
,
implementation
,
sortings
1200
x17931
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2672
1912K
Kim's Quest
bitmasks
,
combinatorics
,
dp
1800
x1976
1910I
Inverse Problem
*special problem
,
combinatorics
,
dp
2700
x39
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x167
1909I
Short Permutation Problem
combinatorics
,
dp
,
fft
,
math
1900
x73
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x819
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1618
1906J
Count BFS Graph
combinatorics
,
dp
2100
x623
1906H
Twin Friends
combinatorics
,
dp
2200
x599
1906E
Merge Not Sort
constructive algorithms
,
dp
1900
x1281
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x839
1904B
Collecting Game
binary search
,
dp
,
greedy
,
sortings
,
two pointers
1100
x12689
1903D2
Maximum And Queries (hard version)
bitmasks
,
divide and conquer
,
dp
,
greedy
2500
x702
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3630
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1351
1901D
Yet Another Monster Fight
binary search
,
dp
,
greedy
,
implementation
,
math
1700
x6089
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1777
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3662
1900C
Anji's Binary Tree
dfs and similar
,
dp
,
trees
1300
x10341
1900B
Laura and Operations
dp
,
math
900
x15870
1899C
Yarik and Array
dp
,
greedy
,
two pointers
1100
x17945
1896H2
Cyclic Hamming (Hard Version)
brute force
,
dp
,
fft
,
math
,
number theory
3500
x85
1896H1
Cyclic Hamming (Easy Version)
brute force
,
divide and conquer
,
dp
,
fft
,
math
,
number theory
3400
x77
1895G
Two Characters, Two Colors
binary search
,
data structures
,
dp
,
flows
,
greedy
3100
x168
←
1
2
3
...
20
21
→
User lists
Name