Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Educational Codeforces Round 166 (Rated for Div. 2)
39:04:11
Register now »
→ 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
1977D
XORificator
bitmasks
,
brute force
,
hashing
x832
1977C
Nikita and LCM
brute force
,
data structures
,
dp
,
greedy
,
math
,
number theory
,
sortings
x3775
1975F
Set
bitmasks
,
brute force
,
combinatorics
,
dfs and similar
,
divide and conquer
,
dp
,
math
x448
1975D
Paint the Tree
brute force
,
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
x3891
1975C
Chamo and Mocha's Array
binary search
,
brute force
,
greedy
x9920
1975B
378QAQ and Mocha's Array
brute force
,
greedy
,
math
,
sortings
x12436
1975A
Bazoka and Mocha's Array
brute force
,
greedy
,
implementation
,
sortings
x14386
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x2435
1973F
Maximum GCD Sum Queries
bitmasks
,
brute force
,
dp
,
implementation
,
number theory
3100
x123
1973D
Cat, Fox and Maximum Array Split
brute force
,
interactive
,
math
2400
x1478
1973A
Chess For Three
brute force
,
dp
,
implementation
,
math
900
x19569
1972A
Contest Proposal
brute force
,
greedy
,
two pointers
800
x19311
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x7427
1970G2
Min-Fund Prison (Medium)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
2200
x370
1970D1
Arithmancy (Easy)
brute force
,
constructive algorithms
,
interactive
,
strings
2100
x431
1970A2
Balanced Unshuffle (Medium)
brute force
,
constructive algorithms
,
trees
2400
x352
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1482
1968D
Permutation Game
brute force
,
dfs and similar
,
games
,
graphs
,
greedy
,
math
1300
x12314
1968A
Maximize?
brute force
,
math
,
number theory
800
x28567
1967F
Next and Prev
brute force
,
data structures
,
implementation
3200
x36
1967C
Fenwick Tree
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
math
,
trees
2300
x1381
1967B2
Reverse Card (Hard Version)
brute force
,
math
,
number theory
2200
x3268
1967B1
Reverse Card (Easy Version)
brute force
,
math
,
number theory
1400
x10620
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x1046
1957D
A BIT of an Inequality
bitmasks
,
brute force
,
dp
,
math
1900
x3806
1956E2
Nene vs. Monsters (Hard Version)
brute force
,
greedy
,
implementation
,
math
2700
x709
1956E1
Nene vs. Monsters (Easy Version)
brute force
,
implementation
,
math
2500
x1273
1956D
Nene and the Mex Operator
bitmasks
,
brute force
,
constructive algorithms
,
divide and conquer
,
dp
,
greedy
,
implementation
,
math
2000
x3360
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x19545
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x1062
1955G
GCD on a grid
brute force
,
dfs and similar
,
dp
,
implementation
,
math
,
number theory
1900
x3657
1955E
Long Inversions
brute force
,
greedy
,
implementation
,
sortings
1700
x7422
1952J
Help, what does it mean to be "Based"
brute force
,
constructive algorithms
,
expression parsing
,
implementation
,
sortings
x704
1952F
Grid
brute force
x1654
1952C
They Have Fooled
brute force
,
schedules
x2750
1951E
No Palindromes
brute force
,
constructive algorithms
,
divide and conquer
,
greedy
,
hashing
,
implementation
,
math
,
strings
2000
x3106
1950F
0, 1, 2, Tree!
bitmasks
,
brute force
,
greedy
,
implementation
,
trees
1700
x7840
1950E
Nearly Shortest Repeating Substring
brute force
,
implementation
,
number theory
,
strings
1500
x12363
1950D
Product of Binary Decimals
brute force
,
dp
,
implementation
,
number theory
1100
x20791
1949E
Damage per Second
brute force
,
math
2900
x87
1949B
Charming Meals
binary search
,
brute force
,
greedy
,
sortings
1500
x2069
1949A
Grove
brute force
,
dfs and similar
,
dp
,
geometry
,
probabilities
3300
x86
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x624
1948E
Clique Partition
brute force
,
constructive algorithms
,
graphs
,
greedy
,
implementation
2100
x2669
1948D
Tandem Repeats?
brute force
,
strings
,
two pointers
1700
x8356
1948C
Arrow Path
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
shortest paths
1300
x14790
1948B
Array Fix
brute force
,
dp
,
greedy
,
implementation
1100
x20810
1948A
Special Characters
brute force
,
constructive algorithms
800
x26618
1946D
Birthday Gift
bitmasks
,
brute force
,
constructive algorithms
,
greedy
,
implementation
1900
x4147
1945H
GCD is Greater
brute force
,
data structures
,
math
,
number theory
2600
x509
1945C
Left and Right Houses
brute force
1200
x13204
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
2900
x375
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1277
1942F
Farmer John's Favorite Function
brute force
,
data structures
,
implementation
,
math
2700
x582
1941B
Rudolf and 121
brute force
,
dp
,
greedy
,
math
1000
x26863
1941A
Rudolf and the Ticket
brute force
,
math
800
x39425
1935E
Distance Learning Courses in MAC
bitmasks
,
brute force
,
data structures
,
greedy
,
math
2400
x1188
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7271
1934E
Weird LCM Operations
brute force
,
constructive algorithms
,
number theory
3000
x186
1934B
Yet Another Coin Problem
brute force
,
dp
,
greedy
,
math
1200
x16976
1933G
Turtle Magic: Royal Turtle Shell Pattern
bitmasks
,
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
2300
x889
1933C
Turtle Fingers: Count the Values of k
brute force
,
implementation
,
math
,
number theory
1100
x20822
1932C
LR-remainders
brute force
,
data structures
,
implementation
,
math
,
two pointers
1400
x13982
1931C
Make Equal Again
brute force
,
greedy
,
math
1000
x26464
1931A
Recovering a Small String
brute force
,
strings
800
x33891
1930F
Maximize the Difference
bitmasks
,
brute force
,
dfs and similar
2700
x618
1930D1
Sum over all Substrings (Easy Version)
brute force
,
dp
,
greedy
,
strings
1800
x3739
1930B
Permutation Printing
brute force
,
constructive algorithms
,
math
1000
x13840
1929F
Sasha and the Wedding Binary Search Tree
brute force
,
combinatorics
,
data structures
,
dfs and similar
,
math
,
trees
2300
x1656
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1535
1929C
Sasha and the Casino
binary search
,
brute force
,
constructive algorithms
,
games
,
greedy
,
math
1400
x13479
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1571
1928D
Lonely Mountain Dungeons
brute force
,
data structures
,
greedy
,
math
,
ternary search
1900
x3803
1928C
Physical Education Lesson
brute force
,
math
,
number theory
1600
x7641
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x18622
1927C
Choose the Different Ones!
brute force
,
greedy
,
math
1000
x25879
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1527
1925B
A Balanced Problemset?
brute force
,
greedy
,
math
,
number theory
1200
x18462
1923F
Shrink-Reverse
binary search
,
brute force
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
2800
x337
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x5272
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1142
1921F
Sum of Progression
brute force
,
data structures
,
dp
,
implementation
,
math
1900
x3497
1921E
Eat the Chip
brute force
,
games
,
greedy
,
math
1600
x9018
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x895
1920D
Array Repetition
binary search
,
brute force
,
dsu
,
implementation
,
math
1900
x5158
1920C
Partitioning the Array
brute force
,
math
,
number theory
1600
x12010
1920A
Satisfying Constraints
brute force
,
greedy
,
math
800
x26648
1917C
Watering an Array
brute force
,
greedy
,
implementation
,
math
1600
x9503
1917B
Erase First or Second Letter
brute force
,
combinatorics
,
data structures
,
dp
,
strings
1100
x19695
1916H1
Matrix Rank (Easy Version)
brute force
,
combinatorics
,
dp
,
math
,
matrices
2700
x585
1916D
Mathematical Problem
brute force
,
constructive algorithms
,
geometry
,
math
1700
x7957
1915B
Not Quite Latin Square
bitmasks
,
brute force
,
implementation
800
x38993
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1695
1914E1
Game with Marbles (Easy Version)
brute force
,
games
,
greedy
,
sortings
1400
x11269
1914D
Three Activities
brute force
,
dp
,
greedy
,
implementation
,
sortings
1200
x18557
1913C
Game with Multiset
binary search
,
bitmasks
,
brute force
,
greedy
1300
x13860
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1655
1909E
Multiple Lamps
bitmasks
,
brute force
,
constructive algorithms
,
math
,
number theory
2400
x1266
1907G
Lights
brute force
,
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
2200
x1777
1907E
Good Triples
brute force
,
combinatorics
,
number theory
1600
x8973
←
1
2
3
...
15
16
→
User lists
Name