Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round #956 (Div. 2) and ByteRace 2024
17:25:35
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
brute force
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
1989D
Smithing Skill
brute force
,
data structures
,
dp
,
greedy
,
math
,
sortings
,
two pointers
1900
x4073
1989B
Substring and Subsequence
brute force
,
greedy
,
strings
1200
x15028
1987E
Wonderful Tree!
brute force
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
2000
x2238
1986G2
Permutation Problem (Hard Version)
brute force
,
data structures
,
hashing
,
math
,
number theory
2500
x706
1986G1
Permutation Problem (Simple Version)
binary search
,
brute force
,
combinatorics
,
data structures
,
math
,
number theory
2200
x1039
1986D
Mathematical Problem
brute force
,
dp
,
greedy
,
implementation
,
math
,
two pointers
1400
x11915
1986B
Matrix Stabilization
brute force
,
data structures
,
greedy
,
sortings
1000
x22153
1986A
X Axis
brute force
,
geometry
,
math
,
sortings
800
x33099
1985H1
Maximize the Largest Component (Easy Version)
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
1700
x4278
1985E
Secret Box
brute force
,
combinatorics
,
math
1200
x16694
1985B
Maximum Multiple Sum
brute force
,
math
,
number theory
800
x38240
1984F
Reconstruction
brute force
,
dp
,
math
2500
x743
1984D
''a'' String Problem
brute force
,
hashing
,
implementation
,
math
,
string suffix structures
,
strings
2000
x2702
1982E
Number of k-good subarrays
bitmasks
,
brute force
,
combinatorics
,
divide and conquer
,
dp
,
math
,
meet-in-the-middle
2300
x1164
1982D
Beauty of the mountains
brute force
,
data structures
,
implementation
,
math
,
number theory
1700
x5534
1982B
Collatz Conjecture
brute force
,
implementation
,
math
,
number theory
1200
x13949
1981C
Turtle and an Incomplete Sequence
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
1800
x4326
1981A
Turtle and Piggy Are Playing a Game
brute force
,
greedy
,
math
800
x19952
1979F
Kostyanych's Theorem
brute force
,
constructive algorithms
,
graphs
,
interactive
2900
x232
1979D
Fixing a Binary String
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
1800
x5543
1979A
Guess the Maximum
brute force
,
greedy
,
implementation
800
x26338
1978E
Computing Machine
brute force
,
data structures
,
dp
,
greedy
,
implementation
2000
x2935
1977D
XORificator
bitmasks
,
brute force
,
greedy
,
hashing
2300
x1542
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x5778
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x683
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1700
x5059
1975C
Chamo and Mocha's Array
binary search
,
brute force
,
greedy
1200
x12720
1975B
378QAQ and Mocha's Array
brute force
,
greedy
,
math
,
sortings
1000
x15669
1975A
Bazoka and Mocha's Array
brute force
,
greedy
,
implementation
,
sortings
800
x17196
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x3104
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x176
1973D
Cat, Fox and Maximum Array Split
brute force
,
interactive
,
math
2400
x1693
1973A
Chess For Three
brute force
,
dp
,
implementation
,
math
900
x21984
1972A
Contest Proposal
brute force
,
greedy
,
two pointers
800
x21170
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x8640
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x455
1970D1
Arithmancy (Easy)
brute force
,
constructive algorithms
,
interactive
,
strings
2100
x493
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x383
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1681
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x13450
1968A
Maximize?
brute force
,
math
,
number theory
800
x30819
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x50
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1479
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x3515
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x11804
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1116
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x4055
1956E2
Nene vs. Monsters (Hard Version)
brute force
,
greedy
,
implementation
,
math
2700
x749
1956E1
Nene vs. Monsters (Easy Version)
brute force
,
implementation
,
math
2500
x1337
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3540
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x20392
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1135
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3963
1955E
Long Inversions
brute force
,
greedy
,
implementation
,
sortings
1700
x7837
1952J
Help, what does it mean to be "Based"
brute force
,
constructive algorithms
,
expression parsing
,
implementation
,
sortings
x723
1952F
Grid
brute force
x1691
1952C
They Have Fooled
brute force
,
schedules
x2799
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x3287
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x8323
1950E
Nearly Shortest Repeating Substring
brute force
,
implementation
,
number theory
,
strings
1500
x13150
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x21670
1949E
Damage per Second
brute force
,
math
2900
x89
1949B
Charming Meals
binary search
,
brute force
,
greedy
,
sortings
1500
x2491
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x94
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x655
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2764
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
1700
x8677
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x15465
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x21576
1948A
Special Characters
brute force
,
constructive algorithms
800
x27356
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4314
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x560
1945C
Left and Right Houses
brute force
1200
x13829
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
2900
x401
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1337
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x620
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x27871
1941A
Rudolf and the Ticket
brute force
,
math
800
x40474
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1231
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7550
1934E
Weird LCM Operations
brute force
,
constructive algorithms
,
number theory
3000
x200
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x17621
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x911
1933C
Turtle Fingers: Count the Values of k
brute force
,
implementation
,
math
,
number theory
1100
x21479
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x14627
1931C
Make Equal Again
brute force
,
greedy
,
math
1000
x27336
1931A
Recovering a Small String
brute force
,
strings
800
x34596
1930F
Maximize the Difference
bitmasks
,
brute force
,
dfs and similar
2700
x657
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3858
1930B
Permutation Printing
brute force
,
constructive algorithms
,
math
1000
x14331
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1693
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1575
1929C
Sasha and the Casino
binary search
,
brute force
,
constructive algorithms
,
games
,
greedy
,
math
1400
x13887
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1605
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3950
1928C
Physical Education Lesson
brute force
,
math
,
number theory
1600
x7952
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x19429
1927C
Choose the Different Ones!
brute force
,
greedy
,
math
1000
x26539
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1579
1925B
A Balanced Problemset?
brute force
,
greedy
,
math
,
number theory
1200
x18960
←
1
2
3
...
16
17
→
User lists
Name