Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 954 (Div. 3)
2 days
Register now »
→ Filter Problems
Difficulty:
—
number theory
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
1985G
D-Function
combinatorics
,
math
,
number theory
1600
x6080
1985B
Maximum Multiple Sum
brute force
,
math
,
number theory
800
x34794
1981D
Turtle and Multiplication
constructive algorithms
,
dfs and similar
,
graphs
,
number theory
2400
x1141
1980D
GCD-sequence
greedy
,
implementation
,
math
,
number theory
1400
x11418
1979C
Earning on Bets
binary search
,
combinatorics
,
constructive algorithms
,
number theory
1200
x15399
1978F
Large Graph
data structures
,
dfs and similar
,
dsu
,
graphs
,
number theory
2400
x714
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x5495
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x167
1968C
Assembly via Remainders
constructive algorithms
,
number theory
1000
x21968
1968A
Maximize?
brute force
,
math
,
number theory
800
x30187
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x3443
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x11469
1965B
Missing Subsequence Sum
bitmasks
,
constructive algorithms
,
greedy
,
number theory
1800
x5735
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1085
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3852
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x1948
1954C
Long Multiplication
greedy
,
math
,
number theory
1200
x17262
1950E
Nearly Shortest Repeating Substring
brute force
,
implementation
,
number theory
,
strings
1500
x12914
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x21391
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2209
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x549
1945B
Fireworks
math
,
number theory
900
x20792
1934E
Weird LCM Operations
brute force
,
constructive algorithms
,
number theory
3000
x195
1933D
Turtle Tenacity: Continual Mods
constructive algorithms
,
greedy
,
math
,
number theory
,
sortings
1200
x18545
1933C
Turtle Fingers: Count the Values of k
brute force
,
implementation
,
math
,
number theory
1100
x21235
1933B
Turtle Math: Fast Three Task
implementation
,
math
,
number theory
800
x30806
1932G
Moving Platforms
graphs
,
math
,
number theory
,
shortest paths
2300
x922
1932E
Final Countdown
implementation
,
math
,
number theory
1600
x7283
1932B
Chaya Calendar
number theory
1100
x19203
1931G
One-Dimensional Puzzle
combinatorics
,
math
,
number theory
2000
x2542
1931D
Divisible Pairs
combinatorics
,
math
,
number theory
1300
x16699
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1595
1928C
Physical Education Lesson
brute force
,
math
,
number theory
1600
x7855
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x10714
1925B
A Balanced Problemset?
brute force
,
greedy
,
math
,
number theory
1200
x18763
1920C
Partitioning the Array
brute force
,
math
,
number theory
1600
x12268
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1692
1916G
Optimizations From Chelsu
divide and conquer
,
dp
,
number theory
,
trees
3500
x140
1916B
Two Divisors
constructive algorithms
,
math
,
number theory
1000
x24254
1916A
2023
constructive algorithms
,
implementation
,
math
,
number theory
800
x24902
1909E
Multiple Lamps
bitmasks
,
brute force
,
constructive algorithms
,
math
,
number theory
2400
x1282
1909D
Split Plus K
greedy
,
math
,
number theory
1900
x4101
1909B
Make Almost Equal With Mod
bitmasks
,
constructive algorithms
,
math
,
number theory
1200
x14791
1907E
Good Triples
brute force
,
combinatorics
,
number theory
1600
x9245
1906G
Grid Game 2
games
,
number theory
2900
x155
1902C
Insert and Equalize
brute force
,
constructive algorithms
,
greedy
,
math
,
number theory
1300
x12726
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3846
1899D
Yarik and Musical Notes
hashing
,
math
,
number theory
1300
x12609
1899B
250 Thousand Tons of TNT
brute force
,
implementation
,
number theory
1100
x18817
1899A
Game with Integers
games
,
math
,
number theory
800
x39960
1896H2
Cyclic Hamming (Hard Version)
brute force
,
dp
,
fft
,
math
,
number theory
3500
x98
1896H1
Cyclic Hamming (Easy Version)
brute force
,
divide and conquer
,
dp
,
fft
,
math
,
number theory
3400
x87
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2944
1882E1
Two Permutations (Easy Version)
brute force
,
constructive algorithms
,
greedy
,
number theory
2400
x973
1881D
Divide and Equalize
math
,
number theory
1300
x15337
1879F
Last Man Standing
brute force
,
data structures
,
number theory
2800
x477
1878F
Vasilije Loves Number Theory
brute force
,
math
,
number theory
1900
x3893
1877C
Joyboard
math
,
number theory
1200
x10342
1876B
Effects of Anti Pimples
combinatorics
,
number theory
,
sortings
1500
x7736
1875C
Jellyfish and Green Apple
bitmasks
,
greedy
,
math
,
number theory
1400
x11080
1872C
Non-coprime Split
math
,
number theory
1100
x22472
1866B
Battling with Numbers
combinatorics
,
math
,
number theory
1400
x7350
1864C
Divisor Chain
bitmasks
,
constructive algorithms
,
math
,
number theory
1300
x12893
1859A
United We Stand
constructive algorithms
,
math
,
number theory
800
x30176
1858C
Yet Another Permutation Problem
constructive algorithms
,
greedy
,
math
,
number theory
1000
x22296
1858B
The Walkway
brute force
,
dp
,
greedy
,
math
,
number theory
1500
x10860
1855B
Longest Divisors Interval
brute force
,
combinatorics
,
greedy
,
math
,
number theory
900
x24631
1852A
Ntarsis' Set
binary search
,
math
,
number theory
1800
x7714
1850F
We Were Both Children
brute force
,
implementation
,
math
,
number theory
1300
x17780
1848E
Vika and Stone Skipping
brute force
,
implementation
,
math
,
number theory
2600
x753
1848C
Vika and Price Tags
math
,
number theory
1800
x6068
1845F
Swimmers in the Pool
dp
,
fft
,
math
,
number theory
2800
x357
1845A
Forbidden Integer
constructive algorithms
,
implementation
,
math
,
number theory
800
x25281
1844G
Tree Weights
bitmasks
,
constructive algorithms
,
data structures
,
dfs and similar
,
implementation
,
math
,
matrices
,
number theory
,
trees
3000
x663
1844D
Row Major
constructive algorithms
,
greedy
,
math
,
number theory
,
strings
1400
x11849
1838C
No Prime Differences
constructive algorithms
,
math
,
number theory
1400
x13736
1835D
Doctor's Brown Hypothesis
dfs and similar
,
graphs
,
math
,
number theory
2900
x457
1834E
MEX of LCM
binary search
,
data structures
,
implementation
,
math
,
number theory
2300
x2103
1830C
Hyperregular Bracket Strings
combinatorics
,
greedy
,
hashing
,
math
,
number theory
,
sortings
2400
x1564
1828B
Permutation Swap
math
,
number theory
900
x21336
1826C
Dreaming of Freedom
greedy
,
math
,
number theory
1300
x13006
1826B
Lunatic Never Content
math
,
number theory
1100
x16290
1823C
Strongly Composite
greedy
,
math
,
number theory
1300
x11837
1822G2
Magic Triples (Hard Version)
brute force
,
data structures
,
math
,
number theory
2200
x2346
1822G1
Magic Triples (Easy Version)
brute force
,
data structures
,
math
,
number theory
1700
x6664
1816A
Ian Visits Mary
constructive algorithms
,
geometry
,
number theory
800
x17029
1815E
Bosco and Particle
dp
,
math
,
number theory
,
strings
3100
x332
1812F
Factorization
*special problem
,
number theory
x967
1812D
Trivial Conjecture
*special problem
,
constructive algorithms
,
math
,
number theory
x4353
1811E
Living Sequence
binary search
,
dp
,
math
,
number theory
1500
x11766
1810B
Candies
constructive algorithms
,
math
,
number theory
800
x17253
1806F1
GCD Master (easy version)
greedy
,
math
,
number theory
,
sortings
2900
x341
1804C
Pull Your Luck
brute force
,
greedy
,
math
,
number theory
1500
x11693
1801F
Another n-dimensional chocolate bar
dp
,
math
,
meet-in-the-middle
,
number theory
2700
x552
1798F
Gifts from Grandfather Ahmed
dp
,
math
,
number theory
2500
x473
1798C
Candy Store
greedy
,
math
,
number theory
1700
x7907
1797E
Li Hua and Array
brute force
,
data structures
,
dsu
,
math
,
number theory
,
two pointers
2300
x1207
1796F
Strange Triples
brute force
,
math
,
number theory
2900
x170
1794D
Counting Factorizations
combinatorics
,
divide and conquer
,
dp
,
math
,
number theory
1900
x3417
1792E
Divisors and Table
brute force
,
dfs and similar
,
dp
,
number theory
2400
x1327
←
1
2
3
...
7
8
→
User lists
Name