Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 945 (Div. 2)
3 days
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
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x163
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x299
1970E3
Trails (Hard)
dp
,
matrices
2200
x351
1970E2
Trails (Medium)
dp
,
matrices
2000
x579
1970E1
Trails (Easy)
dp
1800
x809
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x670
1970C2
Game on Tree (Medium)
dfs and similar
,
dp
,
games
,
trees
1700
x1028
1969F
Card Pairing
dp
,
greedy
,
hashing
,
implementation
3000
x106
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x906
1969C
Minimizing the Sum
dp
,
implementation
1700
x5901
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1320
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x2983
1967E2
Again Counting Arrays (Hard Version)
combinatorics
,
dp
,
math
3500
x51
1967E1
Again Counting Arrays (Easy Version)
combinatorics
,
dp
,
fft
,
math
3100
x116
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1228
1958H
Composite Spells
*special problem
,
dp
2600
x50
1958A
1-3-5
*special problem
,
dp
1100
x822
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x992
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x3593
1957C
How Does the Rook Move?
combinatorics
,
dp
,
math
1600
x7567
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3207
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1015
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3460
1955F
Unfair Game
dp
,
games
,
greedy
,
math
,
schedules
1800
x5895
1954F
Unique Strings
combinatorics
,
dp
,
math
3100
x204
1954D
Colored Balls
combinatorics
,
dp
,
math
,
sortings
1800
x4901
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x199
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3499
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x20381
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
1900
x1208
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x81
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x14475
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x20504
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x777
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2098
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x9130
1946B
Maximum Sum
dp
,
greedy
,
math
1100
x17936
1945D
Seraphim the Owl
dp
,
greedy
1300
x12186
1943F
Minimum Hamming Distance
dp
3500
x79
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x595
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1256
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x59
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x370
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2425
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x8184
1941D
Rudolf and the Ball Game
dfs and similar
,
dp
,
implementation
1200
x16642
1941C
Rudolf and the Ugly String
dp
,
greedy
,
strings
900
x29749
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x26476
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
x13117
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7147
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x16691
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2202
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3408
1932A
Thorns and Coins
dp
,
greedy
,
implementation
800
x26774
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x253
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x986
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2368
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3698
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1516
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4177
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1552
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1493
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18318
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x2967
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1496
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x10071
1926C
Vlad and a Sum of Sum of Digits
dp
,
implementation
1200
x23266
1925D
Good Trip
combinatorics
,
dp
,
math
,
probabilities
1900
x3231
1924F
Anti-Proxy Attendance
constructive algorithms
,
dp
,
interactive
,
ternary search
3500
x129
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x778
1924A
Did We Get Everything Covered?
constructive algorithms
,
dp
,
greedy
,
shortest paths
,
strings
1500
x12361
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3189
1923B
Monsters Attack!
dp
,
greedy
,
implementation
1100
x16177
1922F
Replace on Segment
dp
,
graph matchings
2500
x1168
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1129
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3458
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2367
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x741
1919E
Counting Prefixes
combinatorics
,
constructive algorithms
,
dp
,
implementation
,
math
2600
x777
1919C
Grouping Increases
data structures
,
dp
,
greedy
1400
x16852
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4276
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x899
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1659
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19448
1916H2
Matrix Rank (Hard Version)
combinatorics
,
dp
,
math
,
matrices
,
string suffix structures
2700
x502
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x584
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
x1226
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1676
1914F
Programming Competition
dfs and similar
,
dp
,
graph matchings
,
greedy
,
trees
1900
x3681
1914D
Three Activities
brute force
,
dp
,
greedy
,
implementation
,
sortings
1200
x18231
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2713
1912K
Kim's Quest
bitmasks
,
combinatorics
,
dp
1800
x2043
1910I
Inverse Problem
*special problem
,
combinatorics
,
dp
2700
x40
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x174
1909I
Short Permutation Problem
combinatorics
,
dp
,
fft
,
math
1900
x76
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x831
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1638
←
1
2
3
...
20
21
→
User lists
Name