Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Contest is running
2023 Post World Finals Online ICPC Challenge powered by Huawei
13 days
Register now »
Contest is running
Kotlin Heroes: Practice 10
6 days
Register now »
→ Filter Problems
Difficulty:
—
dp
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
1969E
Unique Array
binary search
,
data structures
,
divide and conquer
,
dp
,
greedy
2400
x775
1957E
Carousel of Combinations
brute force
,
combinatorics
,
dp
,
math
,
number theory
2400
x959
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x984
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x766
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x2068
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1243
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2399
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2195
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x982
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2357
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1505
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1537
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1489
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1475
1922F
Replace on Segment
dp
,
graph matchings
2500
x1162
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1119
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2352
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x895
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1653
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1222
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1671
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2701
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x169
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x827
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1632
1906J
Count BFS Graph
combinatorics
,
dp
2100
x630
1906H
Twin Friends
combinatorics
,
dp
2200
x603
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x849
1903D2
Maximum And Queries (hard version)
bitmasks
,
divide and conquer
,
dp
,
greedy
2500
x705
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1363
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1805
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1454
1886E
I Wanna be the Team Leader
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
,
sortings
,
two pointers
2400
x1333
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2804
1874C
Jellyfish and EVA
dp
,
graphs
,
greedy
,
math
,
probabilities
2300
x1502
1874B
Jellyfish and Math
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x1065
1870E
Another MEX Problem
bitmasks
,
brute force
,
dp
,
shortest paths
2300
x2206
1868C
Travel Plan
combinatorics
,
dp
,
implementation
,
math
,
trees
2400
x1070
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2273
1866M
Mighty Rock Tower
brute force
,
combinatorics
,
dp
,
math
,
probabilities
2400
x687
1866K
Keen Tree Calculation
binary search
,
data structures
,
dp
,
geometry
,
graphs
,
implementation
,
trees
2500
x406
1866I
Imagination Castle
dp
,
games
,
two pointers
2300
x668
1866G
Grouped Carriages
binary search
,
data structures
,
dp
,
flows
,
greedy
2100
x1504
1866D
Digital Wallet
dp
,
greedy
2300
x1180
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2609
1861E
Non-Intersecting Subpermutations
combinatorics
,
dp
,
implementation
,
math
2300
x1612
1860D
Balanced String
dp
2200
x2783
1859E
Maximum Monogonosity
brute force
,
dp
,
math
2500
x1662
1858D
Trees and Segments
brute force
,
data structures
,
dp
,
greedy
,
two pointers
2200
x2691
1854C
Expected Destruction
combinatorics
,
dp
,
math
,
probabilities
2500
x1394
1854B
Earn or Unlock
bitmasks
,
brute force
,
dp
2200
x3331
1852C
Ina of the Mountain
data structures
,
dp
,
greedy
,
math
2400
x1455
1849E
Max to the Right of Min
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
two pointers
2300
x1500
1848F
Vika and Wiki
binary search
,
bitmasks
,
combinatorics
,
divide and conquer
,
dp
,
math
2400
x1448
1845E
Boxes and Balls
dp
,
implementation
,
math
2500
x1260
1843F2
Omsk Metro (hard version)
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
math
,
trees
2300
x1467
1842E
Tenzing and Triangle
data structures
,
dp
,
geometry
,
greedy
,
math
2300
x1535
1840F
Railguns
brute force
,
dfs and similar
,
dp
,
graphs
2200
x1701
1839E
Decreasing Game
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
interactive
2400
x1157
1839D
Ball Sorting
data structures
,
dp
,
sortings
2100
x2175
1838E
Count Supersequences
combinatorics
,
dp
,
math
2500
x1371
1832E
Combinatorics Problem
brute force
,
combinatorics
,
dp
2200
x2054
1827B2
Range Sorting (Hard Version)
binary search
,
data structures
,
dp
,
greedy
2400
x1766
1826E
Walk the Runway
bitmasks
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
2400
x1498
1824C
LuoTianyi and XOR-Tree
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
trees
2500
x1253
1823E
Removing Graph
brute force
,
dp
,
games
,
graphs
,
math
2500
x1196
1821E
Rearrange Brackets
brute force
,
dp
,
greedy
,
sortings
,
strings
2100
x2242
1819C
The Fox and the Complete Tree Traversal
constructive algorithms
,
dp
,
implementation
,
math
,
trees
2400
x1394
1814E
Chain Chips
data structures
,
dp
,
matrices
2300
x1247
1811G2
Vlad and the Nice Paths (hard version)
binary search
,
combinatorics
,
data structures
,
dp
,
math
,
two pointers
2200
x1618
1811G1
Vlad and the Nice Paths (easy version)
combinatorics
,
dp
,
math
2100
x1911
1809E
Two Tanks
binary search
,
dp
,
implementation
,
math
2400
x790
1808E2
Minibuses on Venus (medium version)
combinatorics
,
divide and conquer
,
dp
,
matrices
2500
x646
1808E1
Minibuses on Venus (easy version)
combinatorics
,
divide and conquer
,
dp
2200
x1251
1806D
DSU Master
combinatorics
,
dp
,
dsu
,
math
2500
x846
1805E
There Should Be a Lot of Maximums
brute force
,
data structures
,
dfs and similar
,
dp
,
trees
,
two pointers
2300
x1522
1804E
Routing
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
2400
x1359
1801D
The way home
binary search
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x2039
1799D2
Hot Start Up (hard version)
data structures
,
dp
2100
x2272
1798F
Gifts from Grandfather Ahmed
dp
,
math
,
number theory
2500
x467
1798E
Multitest Generator
brute force
,
dp
2300
x1513
1796E
Colored Subgraphs
dfs and similar
,
dp
,
games
,
greedy
,
trees
2500
x693
1795E
Explosions?
binary search
,
data structures
,
dp
,
greedy
,
math
2200
x1913
1794E
Labeling the Tree with Distances
data structures
,
dp
,
greedy
,
hashing
,
implementation
,
trees
2400
x1004
1792E
Divisors and Table
brute force
,
dfs and similar
,
dp
,
number theory
2400
x1303
1789E
Serval and Music Game
brute force
,
dp
,
implementation
,
math
,
number theory
2500
x760
1788E
Sum Over Zero
data structures
,
dfs and similar
,
dp
2200
x2471
1784D
Wooden Spoon
combinatorics
,
dp
2400
x952
1780F
Three Chairs
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
number theory
,
sortings
2300
x1370
1779F
Xorcerer's Stones
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x1218
1778D
Flexible String Revisit
combinatorics
,
dp
,
math
,
probabilities
2100
x2556
1776B
Vittorio Plays with LEGO Bricks
dp
,
geometry
2200
x1243
1775F
Laboratory on Pluto
constructive algorithms
,
dp
,
greedy
,
math
2500
x741
1771E
Hossam and a Letter
brute force
,
dp
,
implementation
,
two pointers
2500
x660
1771D
Hossam and (sub-)palindromic tree
brute force
,
data structures
,
dfs and similar
,
dp
,
strings
,
trees
2100
x2595
1770E
Koxia and Tree
combinatorics
,
dfs and similar
,
dp
,
dsu
,
math
,
probabilities
,
trees
2400
x1292
1767E
Algebra Flash
bitmasks
,
brute force
,
dp
,
graphs
,
math
,
meet-in-the-middle
,
trees
2500
x832
1767C
Count Binary Strings
data structures
,
dp
2100
x2502
1766E
Decomposition
binary search
,
brute force
,
data structures
,
divide and conquer
,
dp
,
two pointers
2300
x1126
1765F
Chemistry Lab
dp
,
geometry
,
probabilities
2200
x588
←
1
2
3
...
6
7
→
User lists
Name