Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 950 (Div. 3)
12:15:23
Register now »
→ 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
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x4724
1975I
Mind Bloom
dp
3500
x21
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x524
1974E
Money Buys Happiness
dp
1800
x5761
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x139
1970G3
Min-Fund Prison (Hard)
bitmasks
,
dfs and similar
,
dp
,
graphs
,
trees
2400
x210
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x382
1970E3
Trails (Hard)
dp
,
matrices
2200
x441
1970E2
Trails (Medium)
dp
,
matrices
2000
x777
1970E1
Trails (Easy)
dp
1800
x1207
1970C3
Game on Tree (Hard)
dfs and similar
,
dp
,
games
,
trees
1900
x915
1969F
Card Pairing
dp
,
greedy
,
hashing
,
implementation
3000
x150
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1030
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1505
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x3398
1967E2
Again Counting Arrays (Hard Version)
combinatorics
,
dp
,
math
3500
x68
1967E1
Again Counting Arrays (Easy Version)
combinatorics
,
dp
,
fft
,
math
3100
x142
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1395
1958H
Composite Spells
*special problem
,
dp
2600
x64
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1054
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x3848
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3385
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1078
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3715
1955F
Unfair Game
dp
,
games
,
greedy
,
math
,
schedules
1800
x6155
1954F
Unique Strings
combinatorics
,
dp
,
math
3100
x215
1954D
Colored Balls
combinatorics
,
dp
,
math
,
sortings
1800
x5184
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x211
1950G
Shuffling Songs
bitmasks
,
dfs and similar
,
dp
,
graphs
,
hashing
,
implementation
,
strings
1900
x3659
1949C
Annual Ants' Gathering
dfs and similar
,
dp
,
greedy
,
trees
1900
x1321
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x89
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x797
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2166
1943F
Minimum Hamming Distance
dp
3500
x84
1943D2
Counting Is Fun (Hard Version)
combinatorics
,
dp
2800
x626
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1288
1942H
Farmer John's Favorite Intern
data structures
,
dp
,
flows
,
trees
3500
x68
1942G
Bessie and Cards
combinatorics
,
dp
,
math
2800
x381
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2494
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7309
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2246
1932F
Feed Cats
data structures
,
dp
,
sortings
1900
x3496
1930G
Prefix Max Set Counting
data structures
,
dp
,
trees
3100
x258
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x1016
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2401
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3750
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1542
1929D
Sasha and a Walk in the City
combinatorics
,
dp
,
math
,
trees
1900
x4251
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1579
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1517
1926G
Vlad and Trouble at MIT
dfs and similar
,
dp
,
flows
,
graphs
,
greedy
,
implementation
,
trees
1900
x3053
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1530
1925D
Good Trip
combinatorics
,
dp
,
math
,
probabilities
1900
x3290
1924F
Anti-Proxy Attendance
constructive algorithms
,
dp
,
interactive
,
ternary search
3500
x134
1924D
Balanced Subsequences
combinatorics
,
dp
,
math
2700
x791
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x3280
1922F
Replace on Segment
dp
,
graph matchings
2500
x1182
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1143
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3507
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2409
1919F2
Wine Factory (Hard Version)
data structures
,
dp
,
flows
,
greedy
,
matrices
2800
x750
1919E
Counting Prefixes
combinatorics
,
constructive algorithms
,
dp
,
implementation
,
math
2600
x786
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4344
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x908
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1679
1916H2
Matrix Rank (Hard Version)
combinatorics
,
dp
,
math
,
matrices
,
string suffix structures
2700
x503
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x585
1916G
Optimizations From Chelsu
divide and conquer
,
dp
,
number theory
,
trees
3500
x134
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1240
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1699
1914F
Programming Competition
dfs and similar
,
dp
,
graph matchings
,
greedy
,
trees
1900
x3747
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2768
1912K
Kim's Quest
bitmasks
,
combinatorics
,
dp
1800
x2104
1910I
Inverse Problem
*special problem
,
combinatorics
,
dp
2700
x44
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x180
1909I
Short Permutation Problem
combinatorics
,
dp
,
fft
,
math
1900
x98
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x840
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1656
1906J
Count BFS Graph
combinatorics
,
dp
2100
x654
1906H
Twin Friends
combinatorics
,
dp
2200
x621
1906E
Merge Not Sort
constructive algorithms
,
dp
1900
x1334
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x866
1903D2
Maximum And Queries (hard version)
bitmasks
,
divide and conquer
,
dp
,
greedy
2500
x717
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3733
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1398
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1859
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3775
1896H2
Cyclic Hamming (Hard Version)
brute force
,
dp
,
fft
,
math
,
number theory
3500
x94
1896H1
Cyclic Hamming (Easy Version)
brute force
,
divide and conquer
,
dp
,
fft
,
math
,
number theory
3400
x83
1895G
Two Characters, Two Colors
binary search
,
data structures
,
dp
,
flows
,
greedy
3100
x178
1895F
Fancy Arrays
combinatorics
,
dp
,
math
,
matrices
2600
x641
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1470
1893E
Cacti Symphony
combinatorics
,
dfs and similar
,
dp
,
graphs
3500
x181
1889F
Doremy's Average Tree
data structures
,
dp
,
greedy
,
trees
3500
x70
1889C2
Doremy's Drying Plan (Hard Version)
data structures
,
dp
2600
x900
1889C1
Doremy's Drying Plan (Easy Version)
brute force
,
data structures
,
dp
,
greedy
,
sortings
2000
x3052
1886E
I Wanna be the Team Leader
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
,
sortings
,
two pointers
2400
x1350
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2890
1882D
Tree XOR
bitmasks
,
dfs and similar
,
dp
,
greedy
,
trees
1900
x5049
1876E
Ball-Stackable
constructive algorithms
,
data structures
,
dp
,
trees
3300
x257
←
1
2
3
...
15
16
→
User lists
Name