Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 941 (Div. 1)
16:57:38
Register now »
*has extra registration
Before contest
Codeforces Round 941 (Div. 2)
16:57:38
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
x803
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
x3048
1957C
How Does the Rook Move?
combinatorics
,
dp
,
math
x6579
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x2862
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x913
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3059
1955F
Unfair Game
dp
,
games
,
greedy
,
math
,
schedules
1800
x5432
1954F
Unique Strings
combinatorics
,
dp
,
math
3100
x180
1954D
Colored Balls
combinatorics
,
dp
,
math
,
sortings
1800
x4486
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x177
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3264
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x19458
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
x14050
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x20068
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x737
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2015
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x8810
1946B
Maximum Sum
dp
,
greedy
,
math
1100
x17487
1945D
Seraphim the Owl
dp
,
greedy
1300
x11734
1943F
Minimum Hamming Distance
dp
3500
x72
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x554
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1183
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x54
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x350
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2354
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x7991
1941D
Rudolf and the Ball Game
dfs and similar
,
dp
,
implementation
1200
x16312
1941C
Rudolf and the Ugly String
dp
,
greedy
,
strings
900
x29213
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x25979
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
x12874
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7029
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x16367
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2161
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3310
1932A
Thorns and Coins
dp
,
greedy
,
implementation
800
x26309
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
x2340
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3647
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1476
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4103
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1509
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1477
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18055
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x2892
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1447
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x9801
1926C
Vlad and a Sum of Sum of Digits
dp
,
implementation
1200
x22701
1925D
Good Trip
combinatorics
,
dp
,
math
,
probabilities
1900
x3186
1924F
Anti-Proxy Attendance
constructive algorithms
,
dp
,
interactive
,
ternary search
3500
x123
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x751
1924A
Did We Get Everything Covered?
constructive algorithms
,
dp
,
greedy
,
shortest paths
,
strings
1500
x12196
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3113
1923B
Monsters Attack!
dp
,
greedy
,
implementation
1100
x15995
1922F
Replace on Segment
dp
,
graph matchings
2500
x1145
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1109
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3405
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
x761
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x16682
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4205
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x886
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1643
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19219
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
x1209
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1656
1914F
Programming Competition
dfs and similar
,
dp
,
graph matchings
,
greedy
,
trees
1900
x3642
1914D
Three Activities
brute force
,
dp
,
greedy
,
implementation
,
sortings
1200
x17948
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2676
1912K
Kim's Quest
bitmasks
,
combinatorics
,
dp
1800
x1985
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
x1619
1906J
Count BFS Graph
combinatorics
,
dp
2100
x623
1906H
Twin Friends
combinatorics
,
dp
2200
x600
1906E
Merge Not Sort
constructive algorithms
,
dp
1900
x1281
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x840
1904B
Collecting Game
binary search
,
dp
,
greedy
,
sortings
,
two pointers
1100
x12701
1903D2
Maximum And Queries (hard version)
bitmasks
,
divide and conquer
,
dp
,
greedy
2500
x702
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3633
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1352
1901D
Yet Another Monster Fight
binary search
,
dp
,
greedy
,
implementation
,
math
1700
x6091
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1778
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3666
1900C
Anji's Binary Tree
dfs and similar
,
dp
,
trees
1300
x10348
1900B
Laura and Operations
dp
,
math
900
x15879
1899C
Yarik and Array
dp
,
greedy
,
two pointers
1100
x17958
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