Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
Codeforces functionality may be limited from
June 18, 19:00 (UTC)
to
June 19, 3:00 AM (UTC)
due to technical maintenance. Polygon will work as usual.
×
→ Pay attention
Before contest
Codeforces Round 954 (Div. 3)
5 days
→ Filter Problems
Difficulty:
—
binary search
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
1985F
Final Boss
binary search
,
data structures
x9937
1979E
Manhattan Triangle
binary search
,
constructive algorithms
,
data structures
,
geometry
,
implementation
,
two pointers
2400
x994
1979C
Earning on Bets
binary search
,
combinatorics
,
constructive algorithms
,
number theory
1200
x15186
1978B
New Bakery
binary search
,
greedy
,
math
,
ternary search
x15808
1976D
Invertible Bracket Sequences
binary search
,
combinatorics
,
data structures
,
divide and conquer
,
implementation
,
two pointers
2000
x3200
1976C
Job Interview
binary search
,
dp
,
greedy
,
implementation
,
two pointers
1600
x8259
1975E
Chain Queries
binary search
,
data structures
,
dfs and similar
,
implementation
,
trees
2100
x1780
1975C
Chamo and Mocha's Array
binary search
,
brute force
,
greedy
1200
x11999
1974F
Cutting Game
binary search
,
brute force
,
data structures
,
implementation
,
sortings
,
two pointers
1900
x2942
1973B
Cat, Fox and the Lonely Array
binary search
,
bitmasks
,
data structures
,
greedy
,
math
,
two pointers
1300
x12047
1971F
Circle Perimeter
binary search
,
brute force
,
dfs and similar
,
geometry
,
implementation
,
math
1600
x8295
1971E
Find the Car
binary search
,
math
,
sortings
1500
x11759
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x1092
1968G2
Division + LCP (hard version)
binary search
,
brute force
,
data structures
,
dp
,
hashing
,
math
,
string suffix structures
,
strings
2200
x1614
1968G1
Division + LCP (easy version)
binary search
,
data structures
,
dp
,
hashing
,
string suffix structures
,
strings
1900
x3584
1968F
Equal XOR Segments
binary search
,
data structures
1800
x4604
1967D
Long Way to be Non-decreasing
binary search
,
dfs and similar
,
graphs
,
implementation
,
shortest paths
,
two pointers
2800
x519
1967A
Permutation Counting
binary search
,
greedy
,
implementation
,
math
,
sortings
1400
x10611
1957F2
Frequency Mismatch (Hard Version)
binary search
,
data structures
,
dfs and similar
,
hashing
,
probabilities
,
trees
2700
x324
1957F1
Frequency Mismatch (Easy Version)
binary search
,
data structures
,
divide and conquer
,
hashing
,
probabilities
,
trees
2600
x382
1956A
Nene's Game
binary search
,
brute force
,
data structures
,
games
,
greedy
800
x20051
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x1940
1952G
Mathematician Takeover
binary search
,
dfs and similar
,
math
x964
1951I
Growing Trees
binary search
,
constructive algorithms
,
flows
,
graphs
,
greedy
3200
x70
1951H
Thanos Snap
binary search
,
dp
,
games
,
greedy
,
trees
3200
x226
1951B
Battle Cows
binary search
,
data structures
,
greedy
1200
x13085
1949B
Charming Meals
binary search
,
brute force
,
greedy
,
sortings
1500
x2329
1946C
Tree Cutting
binary search
,
dp
,
greedy
,
implementation
,
trees
1600
x9606
1945G
Cook and Porridge
binary search
,
constructive algorithms
,
data structures
,
implementation
2500
x666
1945E
Binary Search
binary search
,
constructive algorithms
,
greedy
1700
x7342
1943E2
MEX Game 2 (Hard Version)
binary search
,
greedy
,
two pointers
3300
x257
1943E1
MEX Game 2 (Easy Version)
binary search
,
brute force
,
greedy
2900
x388
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2545
1941F
Rudolf and Imbalance
binary search
,
greedy
,
sortings
,
two pointers
1800
x5414
1941E
Rudolf and k Bridges
binary search
,
data structures
,
dp
,
two pointers
1600
x8583
1936F
Grand Finale: Circles
binary search
,
geometry
3300
x72
1936D
Bitwise Paradox
binary search
,
bitmasks
,
data structures
,
greedy
,
two pointers
3100
x442
1936B
Pinball
binary search
,
data structures
,
implementation
,
math
,
two pointers
2000
x2551
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x405
1935D
Exam in MAC
binary search
,
combinatorics
,
implementation
,
math
1800
x7582
1935C
Messenger in MAC
binary search
,
brute force
,
constructive algorithms
,
data structures
,
dp
,
greedy
,
sortings
1800
x7417
1934C
Find a Mine
binary search
,
constructive algorithms
,
geometry
,
greedy
,
interactive
,
math
1700
x6230
1933E
Turtle vs. Rabbit Race: Optimal Trainings
binary search
,
implementation
,
math
,
ternary search
1500
x10152
1930C
Lexicographically Largest
binary search
,
constructive algorithms
,
data structures
,
greedy
,
sortings
1700
x6590
1929C
Sasha and the Casino
binary search
,
brute force
,
constructive algorithms
,
games
,
greedy
,
math
1400
x13711
1928B
Equalize
binary search
,
greedy
,
sortings
,
two pointers
1200
x15879
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x19032
1926E
Vlad and an Odd Ordering
binary search
,
bitmasks
,
data structures
,
dp
,
implementation
,
math
,
number theory
1500
x10688
1923F
Shrink-Reverse
binary search
,
brute force
,
greedy
,
hashing
,
implementation
,
string suffix structures
,
strings
2800
x343
1923D
Slimes
binary search
,
constructive algorithms
,
data structures
,
greedy
,
two pointers
1800
x6127
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x423
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x902
1920D
Array Repetition
binary search
,
brute force
,
dsu
,
implementation
,
math
1900
x5226
1918D
Blocking Elements
binary search
,
data structures
,
dp
,
implementation
,
two pointers
1900
x4389
1915C
Can I Square?
binary search
,
implementation
800
x38929
1913F
Palindromic Problem
binary search
,
data structures
,
hashing
,
string suffix structures
,
strings
2800
x294
1913C
Game with Multiset
binary search
,
bitmasks
,
brute force
,
greedy
1300
x14067
1910H
Sum of Digits of Sums
*special problem
,
binary search
,
data structures
2400
x83
1907D
Jumping Through Segments
binary search
,
constructive algorithms
1400
x12476
1906D
Spaceship Exploration
binary search
,
geometry
2800
x95
1904C
Array Game
binary search
,
brute force
,
data structures
,
sortings
,
two pointers
1400
x11168
1904B
Collecting Game
binary search
,
dp
,
greedy
,
sortings
,
two pointers
1100
x13532
1903F
Babysitting
2-sat
,
binary search
,
data structures
,
graphs
,
trees
2500
x571
1903D1
Maximum And Queries (easy version)
binary search
,
bitmasks
,
brute force
,
greedy
1700
x5247
1902D
Robot Queries
binary search
,
data structures
,
dp
,
implementation
1900
x3779
1902B
Getting Points
binary search
,
brute force
,
greedy
1100
x13601
1901F
Landscaping
binary search
,
geometry
,
two pointers
2900
x146
1901D
Yet Another Monster Fight
binary search
,
dp
,
greedy
,
implementation
,
math
1700
x6377
1900F
Local Deletions
binary search
,
data structures
,
implementation
2800
x266
1896D
Ones and Twos
binary search
,
data structures
,
divide and conquer
,
math
,
two pointers
1700
x5342
1896C
Matching Arrays
binary search
,
constructive algorithms
,
greedy
,
sortings
1400
x8916
1895G
Two Characters, Two Colors
binary search
,
data structures
,
dp
,
flows
,
greedy
3100
x179
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1478
1891D
Suspicious logarithms
binary search
,
brute force
,
math
1900
x3776
1891C
Smilo and Monsters
binary search
,
constructive algorithms
,
greedy
,
sortings
,
two pointers
1500
x11803
1887E
Good Colorings
binary search
,
constructive algorithms
,
graphs
,
interactive
3100
x339
1887D
Split
binary search
,
data structures
,
divide and conquer
,
dsu
,
math
,
trees
,
two pointers
2700
x832
1887C
Minimum Array
binary search
,
brute force
,
constructive algorithms
,
data structures
,
greedy
,
hashing
,
two pointers
2400
x1610
1887B
Time Travel
binary search
,
graphs
,
shortest paths
1900
x2751
1886B
Fear of the Dark
binary search
,
geometry
,
math
1200
x15445
1884B
Haunted House
binary search
,
greedy
,
math
,
two pointers
1100
x11981
1883G2
Dances (Hard Version)
binary search
,
greedy
,
sortings
,
two pointers
1900
x4998
1883G1
Dances (Easy version)
binary search
,
greedy
,
two pointers
1400
x9638
1881G
Anya and the Mysterious String
binary search
,
data structures
2000
x2216
1878G
wxhtzdy ORO Tree
binary search
,
bitmasks
,
brute force
,
data structures
,
dfs and similar
,
implementation
,
trees
2300
x1110
1878E
Iva & Pav
binary search
,
bitmasks
,
data structures
,
greedy
1400
x11566
1876G
Clubstep
binary search
,
brute force
,
data structures
,
greedy
,
trees
3500
x118
1876F
Indefinite Clownfish
binary search
,
graphs
3500
x121
1873F
Money Trees
binary search
,
greedy
,
math
,
two pointers
1300
x14433
1873E
Building an Aquarium
binary search
,
sortings
1100
x24063
1872E
Data Structures Fan
binary search
,
bitmasks
,
data structures
,
dp
1500
x12435
1870F
Lazy Numbers
binary search
,
math
2900
x466
1870C
Colorful Table
binary search
,
data structures
,
dp
,
implementation
,
math
,
two pointers
1300
x10968
1866L
Lihmuf Balling
binary search
,
brute force
,
math
2400
x663
1866K
Keen Tree Calculation
binary search
,
data structures
,
dp
,
geometry
,
graphs
,
implementation
,
trees
2500
x416
1866G
Grouped Carriages
binary search
,
data structures
,
dp
,
flows
,
greedy
2100
x1540
1866F
Freak Joker Process
binary search
,
data structures
,
sortings
3100
x122
1862G
The Great Equalizer
binary search
,
data structures
,
math
,
sortings
2000
x2715
1862F
Magic Will Save the World
binary search
,
bitmasks
,
brute force
,
dp
1800
x5821
1862D
Ice Cream Balls
binary search
,
combinatorics
,
constructive algorithms
,
math
1300
x16364
←
1
2
3
...
10
11
→
User lists
Name