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)
4 days
Register now »
*has extra registration
Before contest
Codeforces Round 1097 (Div. 2, Based on Zhili Cup 2026)
4 days
Register now »
*has extra registration
→ Filter Problems
Difficulty:
—
combinatorics
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
2222H
Counting Sort?
brute force
,
combinatorics
,
dp
x96
2217G
Down the Pivot
combinatorics
,
dp
,
math
,
trees
2600
x336
2217F
Interval Game
bitmasks
,
combinatorics
,
constructive algorithms
,
dp
,
games
,
games
,
greedy
,
greedy
,
math
,
probabilities
2300
x682
2211F
Learning Binary Search
combinatorics
,
divide and conquer
,
dp
,
math
2400
x905
2211D
AND-array
bitmasks
,
combinatorics
,
math
1900
x2868
2208E
Counting Cute Arrays
combinatorics
,
dp
2700
x420
2207E2
N-MEX (Counting Version)
combinatorics
,
constructive algorithms
,
math
2400
x855
2206I
Growth Factor
combinatorics
,
dp
,
math
,
number theory
2900
x165
2205E
Simons and Dividing the Rhythm
combinatorics
,
data structures
,
dp
,
dsu
,
math
,
string suffix structures
,
strings
,
strings
,
strings
2100
x1556
2204F
Sum of Fractions
binary search
,
brute force
,
combinatorics
,
data structures
,
greedy
,
math
,
number theory
,
two pointers
2200
x1217
2201C
Rigged Bracket Sequence
combinatorics
,
dp
,
greedy
2000
x1976
2200G
Operation Permutation
combinatorics
,
dp
,
math
,
probabilities
2200
x1018
2199H
Sum of MEX
*special problem
,
combinatorics
,
data structures
,
dp
,
math
2300
x90
2199F
Self-Produced Sequences
*special problem
,
combinatorics
,
math
2000
x148
2196C2
Interactive Graph (Hard Version)
combinatorics
,
dfs and similar
,
dp
,
graphs
,
interactive
2000
x2509
2196C1
Interactive Graph (Simple Version)
binary search
,
combinatorics
,
dfs and similar
,
dp
,
graphs
,
interactive
1800
x3575
2190E
Median Permutation
combinatorics
3200
x235
2190D
Prufer Vertex
combinatorics
,
dsu
,
number theory
,
probabilities
,
trees
2500
x949
2190B1
Sub-RBS (Easy Version)
combinatorics
,
constructive algorithms
,
dp
,
greedy
,
strings
,
two pointers
1400
x10642
2189D2
Little String (Hard Version)
combinatorics
,
dp
,
greedy
,
math
,
number theory
2200
x1942
2189D1
Little String (Easy Version)
combinatorics
,
dp
,
greedy
,
math
,
number theory
1900
x3952
2184E
Exquisite Array
combinatorics
,
data structures
,
dsu
,
sortings
1800
x5755
2184D
Unfair Game
combinatorics
,
dp
,
math
1600
x9475
2183F
Jumping Man
brute force
,
combinatorics
,
dfs and similar
,
dp
,
trees
2500
x1120
2183D2
Tree Coloring (Hard Version)
combinatorics
,
constructive algorithms
,
data structures
,
dfs and similar
,
greedy
,
implementation
,
trees
2100
x2495
2182G
Short Garland
combinatorics
,
data structures
,
dfs and similar
,
dp
,
trees
2800
x350
2182F2
Christmas Reindeer (hard version)
bitmasks
,
brute force
,
combinatorics
,
data structures
,
greedy
,
math
2500
x1092
2182F1
Christmas Reindeer (easy version)
bitmasks
,
brute force
,
combinatorics
,
dp
,
math
2300
x1268
2182D
Christmas Tree Decoration
combinatorics
,
dp
,
greedy
,
math
1600
x8934
2182C
Production of Snowmen
brute force
,
combinatorics
,
dp
1200
x15476
2180G
Balance
bitmasks
,
combinatorics
,
implementation
,
math
3500
x134
2180F2
Control Car (Hard Version)
combinatorics
,
dp
,
matrices
,
probabilities
3200
x223
2180F1
Control Car (Easy Version)
combinatorics
,
dp
,
probabilities
2800
x405
2178I
Numbers or Fireworks
bitmasks
,
combinatorics
,
dp
,
graphs
3300
x219
2178F
Conquer or of Forest
combinatorics
,
math
,
trees
2200
x1821
2176F
Omega Numbers
bitmasks
,
combinatorics
,
dp
,
math
,
number theory
2400
x1484
2174F
Mosaic Tree
combinatorics
,
dp
,
fft
,
math
,
trees
2800
x466
2174C2
Beautiful Patterns (Hard Version)
combinatorics
,
math
,
probabilities
2500
x1022
2174C1
Beautiful Patterns (Easy Version)
combinatorics
,
math
,
probabilities
2400
x1164
2172D
Divisor Card Game
combinatorics
,
dp
3100
x102
2171G
Sakura Adachi and Optimal Sequences
bitmasks
,
combinatorics
,
greedy
,
math
2000
x2317
2170E
Binary Strings and Blocks
combinatorics
,
data structures
,
dp
2100
x2315
2169F
Subsequence Problem
combinatorics
,
dp
,
fft
,
math
2700
x332
2168B
Locate
binary search
,
combinatorics
,
communication
,
constructive algorithms
,
greedy
,
interactive
x1550
2164F2
Chain Prefix Rank (Hard Version)
binary search
,
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
math
,
trees
2900
x421
2164F1
Chain Prefix Rank (Easy Version)
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2600
x649
2163E
Plegma
bitmasks
,
combinatorics
,
communication
,
interactive
2700
x635
2163C
Monopati
brute force
,
combinatorics
,
dp
,
math
,
two pointers
1500
x9006
2161F
SubMST
combinatorics
,
graphs
,
trees
3000
x344
2161E
Left is Always Right
combinatorics
,
implementation
,
math
2400
x780
2159C
Twin Polynomials
combinatorics
,
graph matchings
,
math
2300
x1686
2158F2
Distinct GCDs (Hard Version)
combinatorics
,
constructive algorithms
,
graphs
,
math
,
number theory
,
number theory
3000
x245
2157H
Keygen 3
brute force
,
combinatorics
,
constructive algorithms
,
dfs and similar
,
math
3200
x116
2154F2
Bombing (Hard Version)
combinatorics
,
dp
3300
x175
2154F1
Bombing (Easy Version)
brute force
,
combinatorics
,
constructive algorithms
,
implementation
,
math
2700
x563
2150G
Counting Is Fun: The Finale
combinatorics
,
implementation
3500
x82
2150D
Attraction Theory
combinatorics
,
dp
,
math
2700
x752
2150B
Grid Counting
combinatorics
,
implementation
,
math
1700
x6044
2147G
Modular Tetration
combinatorics
,
math
,
number theory
3100
x359
2147F
Exchange Queries
combinatorics
,
data structures
,
greedy
2800
x663
2146F
Bubble Sort
brute force
,
combinatorics
,
dp
2900
x301
2145G
Cost of Coloring
combinatorics
,
divide and conquer
,
dp
,
fft
,
math
2900
x523
2144E2
Looking at Towers (difficult version)
combinatorics
,
data structures
,
dp
2500
x1435
2144E1
Looking at Towers (easy version)
combinatorics
,
dp
2200
x2555
2144C
Non-Descending Arrays
combinatorics
,
dp
,
math
1300
x14970
2143D2
Inversion Graph Coloring (Hard Version)
binary search
,
combinatorics
,
data structures
,
dp
,
two pointers
2200
x2764
2143D1
Inversion Graph Coloring (Easy Version)
combinatorics
,
data structures
,
dp
,
greedy
,
two pointers
1800
x6390
2140E2
Prime Gaming (Hard Version)
bitmasks
,
combinatorics
,
dp
,
probabilities
2500
x1236
2140E1
Prime Gaming (Easy Version)
bitmasks
,
combinatorics
,
dp
2200
x2107
2138D
Antiamuny and Slider Movement
brute force
,
combinatorics
,
implementation
,
math
,
sortings
2600
x640
2137F
Prefix Maximum Invariance
binary search
,
combinatorics
,
data structures
,
sortings
1900
x4051
2135E2
Beyond the Palindrome (Hard Version)
combinatorics
,
dp
,
math
,
number theory
3500
x164
2135E1
Beyond the Palindrome (Easy Version)
combinatorics
,
dp
,
math
3300
x247
2135C
By the Assignment
binary search
,
bitmasks
,
combinatorics
,
dfs and similar
,
dsu
,
graphs
,
math
2000
x3881
2134F
Permutation Oddness
combinatorics
,
dp
,
math
2900
x647
2129D
Permutation Blackhole
brute force
,
combinatorics
,
dp
,
implementation
,
math
2600
x944
2128D
Sum of LDS
brute force
,
combinatorics
,
dp
,
greedy
,
math
1600
x12272
2127F
Hamed and AghaBalaSar
brute force
,
combinatorics
,
dp
,
math
,
probabilities
2800
x1057
2127D
Root was Built by Love, Broken by Destiny
combinatorics
,
dfs and similar
,
graphs
,
trees
1800
x6178
2125E
Sets of Complementary Sums
brute force
,
combinatorics
,
dp
,
math
,
two pointers
2500
x1415
2125C
Count Good Numbers
bitmasks
,
combinatorics
,
math
,
number theory
1100
x22732
2124F2
Appending Permutations (Hard Version)
combinatorics
,
dp
2800
x567
2124F1
Appending Permutations (Easy Version)
combinatorics
,
dp
2300
x1556
2122G
Tree Parking
combinatorics
,
fft
,
math
,
trees
3300
x303
2122E
Greedy Grid Counting
combinatorics
,
dp
,
greedy
,
math
2600
x1075
2120D
Matrix game
combinatorics
,
math
1800
x5770
2119D
Token Removing
combinatorics
,
dp
,
math
2100
x3465
2117F
Wildflower
combinatorics
,
dfs and similar
,
trees
1800
x5924
2115C
Gellyfish and Eternal Violet
combinatorics
,
dp
,
greedy
,
math
,
probabilities
2700
x913
2112E
Tree Colorings
combinatorics
,
dfs and similar
,
dp
,
graphs
,
math
,
number theory
,
trees
2200
x3376
2109E
Binary String Wowee
combinatorics
,
dp
,
strings
2400
x1792
2108A
Permutation Warm-Up
combinatorics
,
greedy
,
math
800
x22138
2101F
Shoo Shatters the Sunshine
combinatorics
,
dp
,
trees
3300
x155
2097B
Baggage Claim
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
,
math
,
trees
2300
x1930
2096H
Wonderful XOR Problem
bitmasks
,
combinatorics
,
dp
,
fft
,
math
3200
x223
2096D
Wonderful Lightbulbs
combinatorics
,
constructive algorithms
,
math
2000
x5596
2092E
She knows...
combinatorics
,
constructive algorithms
,
graphs
,
math
2100
x3841
2086D
Even String
brute force
,
combinatorics
,
dp
,
math
,
strings
1700
x8360
2084E
Blossom
binary search
,
combinatorics
,
dp
,
implementation
,
math
,
two pointers
2400
x1790
2081E
Quantifier
combinatorics
,
dp
,
implementation
3300
x80
←
1
2
3
...
8
9
→
User lists
Name