Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 1097 (Div. 1, Based on Zhili Cup 2026)
3 days
Register now »
*has extra registration
Before contest
Codeforces Round 1097 (Div. 2, Based on Zhili Cup 2026)
3 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
trees
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
2227H
Fallen Leaves
dfs and similar
,
dp
,
dp
,
trees
,
trees
x901
2226G
Stop Spot
implementation
,
strings
,
trees
x113
2222G
Statistics on Tree
binary search
,
brute force
,
dfs and similar
,
dfs and similar
,
divide and conquer
,
graphs
,
trees
,
trees
x151
2219D
MEX Replacement on Tree
data structures
,
implementation
,
math
,
trees
x424
2219C
Coloring a Red Black Tree
dfs and similar
,
dp
,
greedy
,
math
,
probabilities
,
trees
,
trees
x1195
2218F
The 67th Tree Problem
constructive algorithms
,
implementation
,
trees
1500
x7192
2217H
Closer
dfs and similar
,
dp
,
trees
2800
x200
2217G
Down the Pivot
combinatorics
,
dp
,
math
,
trees
2600
x343
2215G
Maze
trees
3500
x50
2215C
Oriented Journey
bitmasks
,
brute force
,
communication
,
constructive algorithms
,
graphs
,
interactive
,
trees
2200
x612
2211E
Minimum Path Cover
brute force
,
dp
,
greedy
,
interactive
,
interactive
,
math
,
number theory
,
trees
2500
x851
2210F
A Simple Problem
binary search
,
data structures
,
greedy
,
math
,
trees
2700
x214
2210D
A Simple RBS Problem
constructive algorithms
,
math
,
strings
,
trees
2100
x2018
2209F
Dynamic Values And Maximum Sum
data structures
,
data structures
,
greedy
,
implementation
,
trees
2700
x412
2208D2
Tree Orientation (Hard Version)
dfs and similar
,
dsu
,
graphs
,
greedy
,
sortings
,
trees
2200
x1821
2208D1
Tree Orientation (Easy Version)
constructive algorithms
,
dfs and similar
,
dsu
,
graphs
,
greedy
,
matrices
,
trees
1800
x4190
2207H3
Bowser's Castle (Hard Version)
constructive algorithms
,
divide and conquer
,
interactive
,
trees
,
two pointers
x56
2207H2
Bowser's Castle (Medium Version)
constructive algorithms
,
divide and conquer
,
interactive
,
trees
,
two pointers
x39
2207H1
Bowser's Castle (Easy Version)
binary search
,
constructive algorithms
,
divide and conquer
,
greedy
,
interactive
,
trees
x51
2207D
Boxed Like a Fish
dfs and similar
,
dp
,
games
,
shortest paths
,
trees
2200
x2106
2206D
Christmas Tree Un-decoration
data structures
,
dp
,
trees
2600
x239
2206B
Subtree Removal Game
binary search
,
games
,
trees
2500
x347
2205D
Simons and Beating Peaks
data structures
,
data structures
,
divide and conquer
,
dp
,
dp
,
greedy
,
implementation
,
trees
1700
x4900
2200H
Six Seven
divide and conquer
,
math
,
number theory
,
strings
,
strings
,
trees
2600
x454
2195G
Idiot First Search and Queries
binary search
,
data structures
,
dp
,
graphs
,
trees
2300
x1041
2195E
Idiot First Search
dfs and similar
,
dp
,
trees
1500
x8528
2194F2
Again Trees... (hard version)
bitmasks
,
data structures
,
dfs and similar
,
dp
,
fft
,
trees
3000
x167
2194F1
Again Trees... (Easy Version)
bitmasks
,
dfs and similar
,
dp
,
trees
2300
x885
2193H
Remove the Grail Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
implementation
,
trees
2400
x1043
2193G
Paths in a Tree
dfs and similar
,
interactive
,
sortings
,
trees
2100
x2236
2192D
Cost of Tree
dp
,
greedy
,
trees
,
trees
1800
x3536
2190D
Prufer Vertex
combinatorics
,
dsu
,
number theory
,
probabilities
,
trees
2500
x950
2189F
Zhora the Vacuum Cleaner
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
,
trees
2800
x227
2187G
Many Cartesian Trees
greedy
,
sortings
,
trees
3500
x98
2187F2
Al Fine (Counting Version)
dp
,
trees
3500
x70
2187F1
Al Fine (Maximizing Version)
binary search
,
data structures
,
divide and conquer
,
trees
3100
x212
2187C
Jerry and Tom
data structures
,
dfs and similar
,
dsu
,
games
,
graphs
,
greedy
,
trees
2300
x1368
2184F
Cherry Tree
dfs and similar
,
dp
,
graphs
,
trees
1900
x3889
2183F
Jumping Man
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2500
x1124
2183D2
Tree Coloring (Hard Version)
combinatorics
,
constructive algorithms
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
2100
x2496
2183D1
Tree Coloring (Easy Version)
constructive algorithms
,
dfs and similar
,
greedy
,
trees
1500
x8836
2182G
Short Garland
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2800
x350
2179F
Blackslex and Another RGB Walking
communication
,
constructive algorithms
,
graphs
,
interactive
,
number theory
,
trees
2000
x2746
2178F
Conquer or of Forest
combinatorics
,
math
,
trees
2200
x1823
2176E
Remove at the lowest cost
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
implementation
,
trees
2400
x1276
2174F
Mosaic Tree
combinatorics
,
dp
,
fft
,
math
,
trees
2800
x466
2174D
Secret Message
data structures
,
dp
,
greedy
,
trees
3400
x292
2171F
Rae Taylor and Trees (hard version)
binary search
,
constructive algorithms
,
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
trees
1600
x7117
2171D
Rae Taylor and Trees (easy version)
binary search
,
data structures
,
dp
,
dsu
,
greedy
,
implementation
,
trees
1400
x11563
2167F
Tree, TREE!!!
dfs and similar
,
dp
,
math
,
trees
1600
x7122
2165E
Rainbow Branch
constructive algorithms
,
dp
,
greedy
,
trees
3200
x255
2164G
Pointless Machine
constructive algorithms
,
graphs
,
interactive
,
trees
3300
x203
2164F2
Chain Prefix Rank (Hard Version)
binary search
,
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
math
,
trees
2900
x422
2164F1
Chain Prefix Rank (Easy Version)
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2600
x649
2162G
Beautiful Tree
constructive algorithms
,
math
,
probabilities
,
trees
2200
x2809
2161F
SubMST
combinatorics
,
graphs
,
trees
3000
x344
2156F2
Strange Operation (Hard Version)
data structures
,
greedy
,
trees
3000
x243
2155F
Juan's Colorful Tree
data structures
,
dfs and similar
,
dfs and similar
,
dsu
,
graphs
,
graphs
,
meet-in-the-middle
,
trees
2800
x637
2154D
Catshock
constructive algorithms
,
dfs and similar
,
graphs
,
trees
,
two pointers
1900
x4758
2153F
Odd Queries on Odd Array
bitmasks
,
brute force
,
data structures
,
implementation
,
trees
2900
x323
2152G
Query Jungle
data structures
,
implementation
,
math
,
matrices
,
trees
2900
x712
2150F
Cycle Closing
constructive algorithms
,
graphs
,
implementation
,
shortest paths
,
trees
3000
x203
2146D1
Max Sum OR (Easy Version)
bitmasks
,
constructive algorithms
,
divide and conquer
,
greedy
,
trees
1500
x10449
2138C2
Maple and Tree Beauty (Hard Version)
bitmasks
,
brute force
,
dfs and similar
,
dp
,
fft
,
trees
2000
x3366
2138C1
Maple and Tree Beauty (Easy Version)
brute force
,
dfs and similar
,
dp
,
graphs
,
trees
1800
x5423
2135F
To the Infinity
data structures
,
hashing
,
math
,
trees
3500
x246
2134D
Sliding Tree
constructive algorithms
,
dfs and similar
,
greedy
,
implementation
,
trees
2300
x3641
2133E
I Yearned For The Mines
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
trees
2500
x1689
2131D
Arboris Contractio
data structures
,
graphs
,
greedy
,
trees
1400
x14314
2127H
23 Rises Again
brute force
,
dfs and similar
,
dp
,
flows
,
graph matchings
,
graphs
,
greedy
,
implementation
,
probabilities
,
trees
3100
x570
2127E
Ancient Tree
constructive algorithms
,
data structures
,
dfs and similar
,
dsu
,
greedy
,
trees
2100
x2737
2127D
Root was Built by Love, Broken by Destiny
combinatorics
,
dfs and similar
,
graphs
,
trees
1800
x6182
2126G2
Big Wins! (hard version)
binary search
,
data structures
,
divide and conquer
,
dsu
,
trees
,
two pointers
2400
x1160
2126F
1-1-1, Free Tree!
brute force
,
data structures
,
dfs and similar
,
graphs
,
implementation
,
trees
2000
x4297
2124I
Lexicographic Partition
constructive algorithms
,
math
,
trees
3500
x203
2124H
Longest Good Subsequence
dp
,
math
,
trees
3400
x188
2122G
Tree Parking
combinatorics
,
fft
,
math
,
trees
3300
x304
2120C
Divine Tree
constructive algorithms
,
greedy
,
math
,
sortings
,
trees
1400
x12589
2119F
Volcanic Eruptions
dfs and similar
,
dp
,
greedy
,
shortest paths
,
trees
3300
x173
2118F
Shifts and Swaps
data structures
,
graphs
,
hashing
,
trees
3100
x283
2117F
Wildflower
combinatorics
,
dfs and similar
,
trees
1800
x5925
2115B
Gellyfish and Camellia Japonica
brute force
,
constructive algorithms
,
dfs and similar
,
dp
,
graphs
,
greedy
,
trees
2100
x3973
2114E
Kirei Attacks the Estate
dfs and similar
,
dp
,
greedy
,
trees
1400
x13992
2113E
From Kazan with Love
dfs and similar
,
graphs
,
implementation
,
trees
2800
x406
2112E
Tree Colorings
combinatorics
,
dfs and similar
,
dp
,
graphs
,
math
,
number theory
,
trees
2200
x3378
2112D
Reachability and Tree
constructive algorithms
,
dfs and similar
,
graphs
,
trees
1700
x9437
2108E
Spruce Dispute
constructive algorithms
,
dfs and similar
,
graphs
,
greedy
,
implementation
,
shortest paths
,
trees
2600
x888
2107E
Ain and Apple Tree
binary search
,
constructive algorithms
,
greedy
,
math
,
trees
2600
x932
2107D
Apple Tree Traversing
brute force
,
dfs and similar
,
greedy
,
implementation
,
trees
2100
x3553
2106G2
Baudelaire (hard version)
binary search
,
dfs and similar
,
divide and conquer
,
implementation
,
interactive
,
trees
2500
x609
2106G1
Baudelaire (easy version)
binary search
,
constructive algorithms
,
divide and conquer
,
greedy
,
interactive
,
trees
2200
x1612
2104G
Modulo 3
data structures
,
divide and conquer
,
dsu
,
graphs
,
trees
2700
x534
2101F
Shoo Shatters the Sunshine
combinatorics
,
dp
,
trees
3300
x155
2101E
Kia Bakes a Cake
data structures
,
dp
,
greedy
,
trees
3100
x273
2097B
Baggage Claim
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
math
,
trees
2300
x1930
2093G
Shorten the Array
binary search
,
bitmasks
,
data structures
,
dfs and similar
,
greedy
,
strings
,
trees
,
two pointers
1900
x3801
2081D
MST in Modulo Graph
constructive algorithms
,
dsu
,
graphs
,
greedy
,
math
,
number theory
,
sortings
,
trees
2600
x1182
2071E
LeaFall
combinatorics
,
dp
,
probabilities
,
trees
2600
x819
2071C
Trapmigiano Reggiano
constructive algorithms
,
data structures
,
dfs and similar
,
dp
,
greedy
,
sortings
,
trees
1700
x9693
2070D
Tree Jumps
dfs and similar
,
dp
,
trees
1600
x11089
←
1
2
3
...
9
10
→
User lists
Name