Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Please subscribe to the official Codeforces channel in Telegram via the link
https://t.me/codeforces_official
.
×
→ Pay attention
Before contest
Codeforces Round (Div. 2)
2 days
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
1994G
Minecraft
bitmasks
,
brute force
,
dp
,
math
x514
1992F
Valuable Cards
brute force
,
dp
,
greedy
,
number theory
,
two pointers
1900
x4318
1992E
Novice's Mistake
brute force
,
constructive algorithms
,
implementation
,
math
,
strings
1700
x7249
1992A
Only Pluses
brute force
,
constructive algorithms
,
greedy
,
math
,
sortings
800
x33263
1990C
Mad MAD Sum
brute force
,
greedy
,
math
x6012
1990A
Submission Bait
brute force
,
games
,
greedy
,
sortings
x14507
1989D
Smithing Skill
brute force
,
data structures
,
dp
,
greedy
,
math
,
sortings
,
two pointers
1900
x4830
1989B
Substring and Subsequence
brute force
,
greedy
,
strings
1200
x17118
1988E
Range Minimum Sum
binary search
,
brute force
,
data structures
,
divide and conquer
,
implementation
2300
x938
1988D
The Omnipotent Monster Killer
brute force
,
dfs and similar
,
dp
,
trees
2000
x3600
1988A
Split the Multiset
brute force
,
greedy
,
implementation
,
math
900
x18754
1987E
Wonderful Tree!
brute force
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
2000
x2698
1986G2
Permutation Problem (Hard Version)
brute force
,
data structures
,
hashing
,
math
,
number theory
2500
x839
1986G1
Permutation Problem (Simple Version)
binary search
,
brute force
,
combinatorics
,
data structures
,
math
,
number theory
2200
x1192
1986D
Mathematical Problem
brute force
,
dp
,
greedy
,
implementation
,
math
,
two pointers
1400
x13191
1986B
Matrix Stabilization
brute force
,
data structures
,
greedy
,
sortings
1000
x23901
1986A
X Axis
brute force
,
geometry
,
math
,
sortings
800
x35752
1985H1
Maximize the Largest Component (Easy Version)
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
1700
x4621
1985E
Secret Box
brute force
,
combinatorics
,
math
1200
x17518
1985B
Maximum Multiple Sum
brute force
,
math
,
number theory
800
x40023
1984F
Reconstruction
brute force
,
dp
,
math
2500
x798
1984D
''a'' String Problem
brute force
,
hashing
,
implementation
,
math
,
string suffix structures
,
strings
2000
x2828
1983G
Your Loss
bitmasks
,
brute force
,
dp
,
trees
3000
x161
1983C
Have Your Cake and Eat It Too
binary search
,
brute force
,
greedy
,
implementation
1400
x10638
1982E
Number of k-good subarrays
bitmasks
,
brute force
,
combinatorics
,
divide and conquer
,
dp
,
math
,
meet-in-the-middle
2300
x1331
1982D
Beauty of the mountains
brute force
,
data structures
,
implementation
,
math
,
number theory
1700
x6085
1982B
Collatz Conjecture
brute force
,
implementation
,
math
,
number theory
1200
x14977
1981C
Turtle and an Incomplete Sequence
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
,
math
1800
x4546
1981A
Turtle and Piggy Are Playing a Game
brute force
,
greedy
,
math
800
x20564
1979F
Kostyanych's Theorem
brute force
,
constructive algorithms
,
graphs
,
interactive
2900
x248
1979D
Fixing a Binary String
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
greedy
,
hashing
,
strings
1800
x5819
1979A
Guess the Maximum
brute force
,
greedy
,
implementation
800
x27114
1978E
Computing Machine
brute force
,
data structures
,
dp
,
greedy
,
implementation
2000
x3200
1977D
XORificator
bitmasks
,
brute force
,
greedy
,
hashing
2300
x1603
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
1900
x5972
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
2600
x717
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
1700
x5279
1975C
Chamo and Mocha's Array
binary search
,
brute force
,
greedy
1200
x13131
1975B
378QAQ and Mocha's Array
brute force
,
greedy
,
math
,
sortings
1000
x16203
1975A
Bazoka and Mocha's Array
brute force
,
greedy
,
implementation
,
sortings
800
x17558
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x3192
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x181
1973D
Cat, Fox and Maximum Array Split
brute force
,
interactive
,
math
2400
x1727
1973A
Chess For Three
brute force
,
dp
,
implementation
,
math
900
x22508
1972A
Contest Proposal
brute force
,
greedy
,
two pointers
800
x21531
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x8849
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x471
1970D1
Arithmancy (Easy)
brute force
,
constructive algorithms
,
interactive
,
strings
2100
x510
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x388
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1724
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x13721
1968A
Maximize?
brute force
,
math
,
number theory
800
x31366
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x52
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1514
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x3582
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x12051
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1137
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x4131
1956E2
Nene vs. Monsters (Hard Version)
brute force
,
greedy
,
implementation
,
math
2700
x770
1956E1
Nene vs. Monsters (Easy Version)
brute force
,
implementation
,
math
2500
x1358
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3592
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x20628
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1159
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x4077
1955E
Long Inversions
brute force
,
greedy
,
implementation
,
sortings
1700
x7969
1952J
Help, what does it mean to be "Based"
brute force
,
constructive algorithms
,
expression parsing
,
implementation
,
sortings
x734
1952F
Grid
brute force
x1698
1952C
They Have Fooled
brute force
,
schedules
x2817
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x3346
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x8439
1950E
Nearly Shortest Repeating Substring
brute force
,
implementation
,
number theory
,
strings
1500
x13332
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x21927
1949E
Damage per Second
brute force
,
math
2900
x92
1949B
Charming Meals
binary search
,
brute force
,
greedy
,
sortings
1500
x2605
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x98
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x661
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2817
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
1700
x8777
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x15682
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x21798
1948A
Special Characters
brute force
,
constructive algorithms
800
x27542
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4380
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x572
1945C
Left and Right Houses
brute force
1200
x14023
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
2900
x406
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1352
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x651
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x28193
1941A
Rudolf and the Ticket
brute force
,
math
800
x40785
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1268
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7637
1934E
Weird LCM Operations
brute force
,
constructive algorithms
,
number theory
3000
x205
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x17834
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x919
1933C
Turtle Fingers: Count the Values of k
brute force
,
implementation
,
math
,
number theory
1100
x21694
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x14814
1931C
Make Equal Again
brute force
,
greedy
,
math
1000
x27674
1931A
Recovering a Small String
brute force
,
strings
800
x34868
1930F
Maximize the Difference
bitmasks
,
brute force
,
dfs and similar
2700
x666
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3897
←
1
2
3
...
16
17
→
User lists
Name