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:
—
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
1972A
Contest Proposal
brute force
,
greedy
,
two pointers
800
x16644
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x5448
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x300
1970D1
Arithmancy (Easy)
brute force
,
constructive algorithms
,
interactive
,
strings
2100
x364
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x314
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1324
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x11130
1968A
Maximize?
brute force
,
math
,
number theory
800
x26193
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x27
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1230
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x2940
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x9526
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x993
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x3594
1956E2
Nene vs. Monsters (Hard Version)
brute force
,
greedy
,
implementation
,
math
2700
x657
1956E1
Nene vs. Monsters (Easy Version)
brute force
,
implementation
,
math
2500
x1205
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3210
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x18973
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
x3465
1955E
Long Inversions
brute force
,
greedy
,
implementation
,
sortings
1700
x7163
1952J
Help, what does it mean to be "Based"
brute force
,
constructive algorithms
,
expression parsing
,
implementation
,
sortings
x692
1952F
Grid
brute force
x1642
1952C
They Have Fooled
brute force
,
schedules
x2723
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x3021
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x7627
1950E
Nearly Shortest Repeating Substring
brute force
,
implementation
,
number theory
,
strings
1500
x12018
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x20387
1949E
Damage per Second
brute force
,
math
2900
x82
1949B
Charming Meals
binary search
,
brute force
,
greedy
,
sortings
1500
x1861
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x81
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x615
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2634
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
1700
x8212
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x14477
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x20507
1948A
Special Characters
brute force
,
constructive algorithms
800
x26317
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4036
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x493
1945C
Left and Right Houses
brute force
1200
x12873
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
2900
x362
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1256
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x559
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x26485
1941A
Rudolf and the Ticket
brute force
,
math
800
x38994
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1172
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7147
1934E
Weird LCM Operations
brute force
,
constructive algorithms
,
number theory
3000
x183
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x16694
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x866
1933C
Turtle Fingers: Count the Values of k
brute force
,
implementation
,
math
,
number theory
1100
x20540
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x13723
1931C
Make Equal Again
brute force
,
greedy
,
math
1000
x26117
1931A
Recovering a Small String
brute force
,
strings
800
x33602
1930F
Maximize the Difference
bitmasks
,
brute force
,
dfs and similar
2700
x614
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3698
1930B
Permutation Printing
brute force
,
constructive algorithms
,
math
1000
x13651
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1630
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1516
1929C
Sasha and the Casino
binary search
,
brute force
,
constructive algorithms
,
games
,
greedy
,
math
1400
x13275
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1552
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3757
1928C
Physical Education Lesson
brute force
,
math
,
number theory
1600
x7498
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18324
1927C
Choose the Different Ones!
brute force
,
greedy
,
math
1000
x25617
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1496
1925B
A Balanced Problemset?
brute force
,
greedy
,
math
,
number theory
1200
x18255
1923F
Shrink-Reverse
binary search
,
brute force
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
2800
x332
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5233
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
x3460
1921E
Eat the Chip
brute force
,
games
,
greedy
,
math
1600
x8930
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x880
1920D
Array Repetition
binary search
,
brute force
,
dsu
,
implementation
,
math
1900
x5099
1920C
Partitioning the Array
brute force
,
math
,
number theory
1600
x11843
1920A
Satisfying Constraints
brute force
,
greedy
,
math
800
x26510
1917C
Watering an Array
brute force
,
greedy
,
implementation
,
math
1600
x9407
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19454
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x584
1916D
Mathematical Problem
brute force
,
constructive algorithms
,
geometry
,
math
1700
x7906
1915B
Not Quite Latin Square
bitmasks
,
brute force
,
implementation
800
x38668
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1676
1914E1
Game with Marbles (Easy Version)
brute force
,
games
,
greedy
,
sortings
1400
x11166
1914D
Three Activities
brute force
,
dp
,
greedy
,
implementation
,
sortings
1200
x18234
1913C
Game with Multiset
binary search
,
bitmasks
,
brute force
,
greedy
1300
x13686
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1638
1909E
Multiple Lamps
bitmasks
,
brute force
,
constructive algorithms
,
math
,
number theory
2400
x1250
1907G
Lights
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
2200
x1754
1907E
Good Triples
brute force
,
combinatorics
,
number theory
1600
x8825
1906A
Easy As ABC
brute force
1000
x3541
1905F
Field Should Not Be Empty
brute force
,
data structures
,
divide and conquer
2600
x456
1904D1
Set To Max (Easy Version)
brute force
,
constructive algorithms
,
greedy
1600
x5703
1904C
Array Game
binary search
,
brute force
,
data structures
,
sortings
,
two pointers
1400
x10672
1904A
Forked!
brute force
,
implementation
900
x15933
1903D1
Maximum And Queries (easy version)
binary search
,
bitmasks
,
brute force
,
greedy
1700
x5099
1903B
StORage room
bitmasks
,
brute force
,
constructive algorithms
,
greedy
1200
x11406
1903A
Halloumi Boxes
brute force
,
greedy
,
sortings
800
x24308
1902C
Insert and Equalize
brute force
,
constructive algorithms
,
greedy
,
math
,
number theory
1300
x12279
1902B
Getting Points
binary search
,
brute force
,
greedy
1100
x13346
1900D
Small GCD
bitmasks
,
brute force
,
dp
,
math
,
number theory
2000
x3721
←
1
2
3
...
15
16
→
User lists
Name