Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round (Div. 1, Based on Zhili Cup 2026)
5 days
Register now »
*has extra registration
Before contest
Codeforces Round (Div. 2, Based on Zhili Cup 2026)
5 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
dsu
combine-tags-by-or
*combine tags by OR
2-sat
binary search
bitmasks
brute force
chinese remainder theorem
combinatorics
communication
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
2222F
Building Tree
data structures
,
divide and conquer
,
dsu
,
graphs
,
graphs
,
implementation
x518
2211C2
Equal Multisets (Hard Version)
constructive algorithms
,
dsu
,
greedy
1800
x3635
2208D2
Tree Orientation (Hard Version)
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2200
x1812
2208D1
Tree Orientation (Easy Version)
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
,
trees
1800
x4168
2207G
Toothless
constructive algorithms
,
dfs and similar
,
dsu
3300
x154
2207F
Hanabi
binary search
,
data structures
,
dp
,
dsu
,
flows
,
graph matchings
,
graphs
,
greedy
2900
x268
2205F
Simons and Reconstructing His Roads
constructive algorithms
,
constructive algorithms
,
constructive algorithms
,
constructive algorithms
,
data structures
,
data structures
,
dsu
,
graphs
2400
x636
2205E
Simons and Dividing the Rhythm
combinatorics
,
data structures
,
dp
,
dsu
,
math
,
string suffix structures
,
strings
,
strings
,
strings
2100
x1556
2190D
Prufer Vertex
combinatorics
,
dsu
,
number theory
,
probabilities
,
trees
2500
x949
2187C
Jerry and Tom
data structures
,
dfs and similar
,
dsu
,
games
,
graphs
,
greedy
,
trees
2300
x1364
2184E
Exquisite Array
combinatorics
,
data structures
,
dsu
,
sortings
1800
x5752
2176E
Remove at the lowest cost
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2400
x1272
2172J
Sliding Tiles
data structures
,
divide and conquer
,
dsu
2300
x560
2171F
Rae Taylor and Trees (hard version)
binary search
,
constructive algorithms
,
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
trees
1600
x7106
2171D
Rae Taylor and Trees (easy version)
binary search
,
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
trees
1400
x11546
2164E
Journey
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
2300
x1575
2159B
Rectangles
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
two pointers
2100
x2306
2158E
Sink
data structures
,
divide and conquer
,
dsu
,
graphs
,
implementation
2600
x623
2157E
Adjusting Drones
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
sortings
1900
x3562
2155F
Juan's Colorful Tree
data structures
,
dfs and similar
,
dfs and similar
,
dsu
,
graphs
,
graphs
,
meet-in-the-middle
,
trees
2800
x637
2141H
Merging Vertices in a Graph
*special problem
,
dfs and similar
,
dsu
,
graphs
2700
x84
2135C
By the Assignment
binary search
,
bitmasks
,
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
math
2000
x3881
2129A
Double Perspective
constructive algorithms
,
dp
,
dsu
,
graphs
,
greedy
,
sortings
1300
x16625
2127E
Ancient Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
2100
x2737
2126G2
Big Wins! (hard version)
binary search
,
data structures
,
divide and conquer
,
dsu
,
trees
,
two pointers
2400
x1160
2126G1
Big Wins! (easy version)
binary search
,
data structures
,
dp
,
dsu
,
two pointers
2200
x2479
2117G
Omg Graph
brute force
,
dsu
,
graphs
,
greedy
,
shortest paths
,
sortings
1900
x5139
2108C
Neo's Escape
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
graphs
,
greedy
,
implementation
1500
x14649
2106F
Goblin
dfs and similar
,
dp
,
dsu
,
greedy
,
math
1900
x4418
2104G
Modulo 3
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2700
x534
2097B
Baggage Claim
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
math
,
trees
2300
x1930
2086C
Disappearing Permutation
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
implementation
1300
x16113
2081D
MST in Modulo Graph
constructive algorithms
,
dsu
,
graphs
,
greedy
,
math
,
number theory
,
sortings
,
trees
2600
x1181
2069F
Graph Inclusion
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
2800
x788
2068E
Porto Vs. Benfica
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2800
x369
2064E
Mycraft Sand Sort
combinatorics
,
data structures
,
dsu
,
greedy
,
math
,
sortings
2400
x1468
2063F2
Counting Is Not Fun (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
,
trees
2700
x928
2063F1
Counting Is Not Fun (Easy Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
hashing
,
implementation
,
math
,
trees
2400
x1549
2060E
Graph Composition
dfs and similar
,
dsu
,
graphs
,
greedy
1500
x12228
2057E2
Another Exercise on Graphs (hard version)
binary search
,
dfs and similar
,
dp
,
dsu
,
graphs
,
shortest paths
,
sortings
2500
x1927
2057E1
Another Exercise on Graphs (Easy Version)
binary search
,
brute force
,
dp
,
dsu
,
graphs
,
shortest paths
,
sortings
2300
x2636
2056E
Nested Segments
combinatorics
,
dfs and similar
,
dp
,
dsu
,
math
2500
x1047
2051G
Snakes
bitmasks
,
dp
,
dsu
,
graphs
2100
x2428
2049F
MEX OR Mania
bitmasks
,
brute force
,
data structures
,
dsu
,
implementation
2700
x581
2044G2
Medium Demon Problem (hard version)
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
trees
1900
x3814
2041J
Bottle Arrangement
data structures
,
divide and conquer
,
dp
,
dsu
,
greedy
2700
x264
2033E
Sakurako, Kosuke, and the Permutation
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
math
1400
x14132
2033D
Kousuke's Assignment
data structures
,
dp
,
dsu
,
greedy
,
math
1300
x18187
2031D
Penchick and Desert Rabbit
binary search
,
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
two pointers
1700
x9668
2029D
Cool Graph
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
trees
1900
x3921
2022E2
Billetes MX (Hard Version)
binary search
,
combinatorics
,
data structures
,
dsu
,
graphs
2600
x707
2022E1
Billetes MX (Easy Version)
2-sat
,
binary search
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
2500
x759
2021E3
Digital Village (Extreme Version)
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
greedy
,
math
,
trees
2800
x678
2021E2
Digital Village (Hard Version)
data structures
,
dp
,
dsu
,
graphs
,
math
,
trees
2500
x1207
2021E1
Digital Village (Easy Version)
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
fft
,
graphs
,
greedy
,
implementation
,
math
,
trees
2300
x1928
2020D
Connect the Dots
brute force
,
dp
,
dsu
,
graphs
,
math
,
trees
1800
x7417
2018E2
Complex Segments (Hard Version)
binary search
,
data structures
,
divide and conquer
,
dsu
,
greedy
,
math
,
sortings
3400
x204
2018E1
Complex Segments (Easy Version)
binary search
,
data structures
,
divide and conquer
,
dsu
,
greedy
,
math
,
sortings
3300
x239
2018D
Max Plus Min Plus Size
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
matrices
,
sortings
2200
x2191
2008D
Sakurako's Hobby
dp
,
dsu
,
graphs
,
math
1100
x23437
2006B
Iris and the Tree
brute force
,
data structures
,
dfs and similar
,
dsu
,
math
,
trees
1800
x4349
2001C
Guess The Tree
binary search
,
brute force
,
dfs and similar
,
divide and conquer
,
dsu
,
greedy
,
interactive
,
trees
1500
x12788
1994D
Funny Game
constructive algorithms
,
dsu
,
graphs
,
greedy
,
math
,
number theory
,
trees
1900
x7386
1987E
Wonderful Tree!
brute force
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
2000
x4066
1985H2
Maximize the Largest Component (Hard Version)
data structures
,
dfs and similar
,
dp
,
dsu
,
implementation
2200
x1905
1985H1
Maximize the Largest Component (Easy Version)
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
implementation
1700
x7253
1981E
Turtle and Intersected Segments
data structures
,
dsu
,
graphs
,
greedy
2600
x1221
1978F
Large Graph
data structures
,
dfs and similar
,
dsu
,
graphs
,
number theory
,
two pointers
2400
x1577
1971G
XOUR
data structures
,
dsu
,
sortings
1700
x11478
1956F
Nene and the Passing Game
constructive algorithms
,
data structures
,
dsu
,
graphs
,
sortings
3000
x482
1954E
Chain Reaction
binary search
,
data structures
,
dsu
,
greedy
,
implementation
,
math
,
number theory
2200
x2968
1948G
MST with Matching
bitmasks
,
brute force
,
dsu
,
graph matchings
,
trees
3100
x874
1940C
Burenka and Pether
*special problem
,
data structures
,
dfs and similar
,
divide and conquer
,
dsu
,
graphs
,
sortings
,
trees
x43
1940A
Parallel Universes
*special problem
,
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
x105
1935F
Andrey's Tree
binary search
,
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
implementation
,
trees
2800
x608
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x3049
1927F
Microcycle
data structures
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
,
sortings
,
trees
1900
x5381
1927D
Find the Different Ones!
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
two pointers
1300
x33116
1923E
Count Paths
data structures
,
dfs and similar
,
dp
,
dsu
,
graphs
,
trees
2000
x5135
1922D
Berserk Monsters
brute force
,
data structures
,
dsu
,
implementation
,
math
1900
x6768
1920F2
Smooth Sailing (Hard Version)
binary search
,
data structures
,
dsu
,
geometry
,
graphs
,
trees
3000
x642
1920F1
Smooth Sailing (Easy Version)
binary search
,
brute force
,
data structures
,
dfs and similar
,
dsu
,
graphs
,
shortest paths
2500
x1196
1920D
Array Repetition
binary search
,
brute force
,
dsu
,
implementation
,
math
1900
x6493
1919D
01 Tree
constructive algorithms
,
data structures
,
dsu
,
greedy
,
sortings
,
trees
2100
x4565
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x2395
1909C
Heavy Intervals
constructive algorithms
,
data structures
,
dsu
,
greedy
,
math
,
sortings
1400
x13155
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x2634
1899G
Unusual Entertainment
data structures
,
dfs and similar
,
dsu
,
shortest paths
,
sortings
,
trees
,
two pointers
1900
x4022
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1862
1887D
Split
binary search
,
data structures
,
divide and conquer
,
dsu
,
math
,
trees
,
two pointers
2700
x1257
1876D
Lexichromatography
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
two pointers
2500
x1049
1873H
Mad City
dfs and similar
,
dsu
,
games
,
graphs
,
shortest paths
,
trees
1700
x9497
1872F
Selling a Menagerie
dfs and similar
,
dsu
,
graphs
,
implementation
,
math
1800
x7532
1859D
Andrey and Escape from Capygrad
binary search
,
data structures
,
dp
,
dsu
,
greedy
,
sortings
1800
x7992
1857G
Counting Graphs
combinatorics
,
divide and conquer
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2000
x5481
1851G
Vlad and the Mountains
binary search
,
data structures
,
dsu
,
graphs
,
implementation
,
sortings
,
trees
,
two pointers
2000
x4038
1850H
The Third Letter
dfs and similar
,
dsu
,
graphs
,
greedy
,
implementation
1700
x9984
1849E
Max to the Right of Min
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
two pointers
2300
x2180
1847D
Professor Higashikata
data structures
,
dsu
,
greedy
,
implementation
,
strings
1900
x4262
1845D
Rating System
binary search
,
brute force
,
data structures
,
dp
,
dsu
,
greedy
,
math
,
two pointers
1800
x9005
←
1
2
3
4
5
→
User lists
Name