Enter
|
Register
Home
Top
Catalog
Contests
Gym
Problemset
Groups
Rating
Edu
API
Calendar
Help
→ Pay attention
Before contest
Codeforces Round 940 (Div. 2) and CodeCraft-23
42:18:07
Register now »
*has extra registration
→ 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
1955H
The Most Reckless Defense
bitmasks
,
brute force
,
constructive algorithms
,
dp
,
flows
,
graph matchings
,
shortest paths
2300
x834
1946F
Nobody is needed
2-sat
,
data structures
,
dfs and similar
,
dp
2500
x713
1946E
Girl Permutation
combinatorics
,
dp
,
math
,
number theory
2200
x1959
1943D1
Counting Is Fun (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2400
x1155
1942D
Learning to Paint
binary search
,
data structures
,
dfs and similar
,
dp
,
greedy
,
implementation
,
sortings
2100
x2290
1933F
Turtle Mission: Robot and the Earthquake
dfs and similar
,
dp
,
graphs
,
shortest paths
2100
x2128
1930E
2..3...4.... Wonderful! Wonderful!
combinatorics
,
dp
,
math
2400
x963
1930D2
Sum over all Substrings (Hard Version)
bitmasks
,
divide and conquer
,
dp
,
dsu
,
greedy
,
implementation
,
strings
2100
x2321
1929E
Sasha and the Happy Tree Cutting
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
trees
2300
x1466
1928E
Modular Sequence
brute force
,
constructive algorithms
,
dp
,
graphs
,
greedy
,
math
,
number theory
2300
x1493
1927G
Paint Charges
data structures
,
dp
,
greedy
,
math
2300
x1461
1926F
Vlad and Avoiding X
bitmasks
,
brute force
,
dfs and similar
,
dp
,
implementation
2200
x1427
1922F
Replace on Segment
dp
,
graph matchings
2500
x1137
1921G
Mischievous Shooter
brute force
,
data structures
,
divide and conquer
,
dp
,
implementation
2200
x1098
1920E
Counting Binary Strings
combinatorics
,
dp
,
math
2100
x2311
1917F
Construct Tree
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x881
1917D
Yet Another Inversions Problem
combinatorics
,
data structures
,
dp
,
implementation
,
math
,
number theory
2300
x1634
1914G2
Light Bulbs (Hard Version)
combinatorics
,
data structures
,
dfs and similar
,
dp
,
graphs
,
hashing
2300
x1197
1914G1
Light Bulbs (Easy Version)
brute force
,
combinatorics
,
dfs and similar
,
dp
,
dsu
,
graphs
,
math
,
trees
2100
x1640
1913D
Array Collapse
data structures
,
divide and conquer
,
dp
,
trees
2100
x2662
1910E
Maximum Sum Subarrays
*special problem
,
dp
2100
x166
1909F2
Small Permutation Problem (Hard Version)
combinatorics
,
dp
,
math
2500
x811
1909F1
Small Permutation Problem (Easy Version)
brute force
,
combinatorics
,
dp
,
math
2200
x1605
1906J
Count BFS Graph
combinatorics
,
dp
2100
x617
1906H
Twin Friends
combinatorics
,
dp
2200
x596
1905E
One-X
combinatorics
,
dfs and similar
,
dp
,
math
,
trees
2400
x827
1903D2
Maximum And Queries (hard version)
bitmasks
,
divide and conquer
,
dp
,
greedy
2500
x696
1901E
Compressed Tree
dfs and similar
,
dp
,
graphs
,
greedy
,
sortings
,
trees
2200
x1343
1900E
Transitive Graph
dfs and similar
,
dp
,
dsu
,
graphs
,
implementation
2100
x1767
1895E
Infinite Card Game
binary search
,
brute force
,
data structures
,
dfs and similar
,
dp
,
dsu
,
games
,
graphs
,
greedy
,
sortings
,
two pointers
2300
x1440
1886E
I Wanna be the Team Leader
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
math
,
sortings
,
two pointers
2400
x1310
1884D
Counting Rhyme
dp
,
math
,
number theory
2100
x2765
1874C
Jellyfish and EVA
dp
,
graphs
,
greedy
,
math
,
probabilities
2300
x1488
1874B
Jellyfish and Math
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
,
shortest paths
2400
x1047
1870E
Another MEX Problem
bitmasks
,
brute force
,
dp
,
shortest paths
2300
x2186
1868C
Travel Plan
combinatorics
,
dp
,
implementation
,
math
,
trees
2400
x1060
1868B2
Candy Party (Hard Version)
bitmasks
,
constructive algorithms
,
dp
,
greedy
,
implementation
,
math
2100
x2254
1866M
Mighty Rock Tower
brute force
,
combinatorics
,
dp
,
math
,
probabilities
2400
x682
1866K
Keen Tree Calculation
binary search
,
data structures
,
dp
,
geometry
,
graphs
,
implementation
,
trees
2500
x402
1866I
Imagination Castle
dp
,
games
,
two pointers
2300
x665
1866G
Grouped Carriages
binary search
,
data structures
,
dp
,
flows
,
greedy
2100
x1492
1866D
Digital Wallet
dp
,
greedy
2300
x1177
1863E
Speedrun
brute force
,
dfs and similar
,
dp
,
graphs
,
greedy
,
math
,
sortings
,
two pointers
2100
x2589
1861E
Non-Intersecting Subpermutations
combinatorics
,
dp
,
implementation
,
math
2300
x1596
1860D
Balanced String
dp
2200
x2751
1859E
Maximum Monogonosity
brute force
,
dp
,
math
2500
x1649
1858D
Trees and Segments
brute force
,
data structures
,
dp
,
greedy
,
two pointers
2200
x2664
1854C
Expected Destruction
combinatorics
,
dp
,
math
,
probabilities
2500
x1383
1854B
Earn or Unlock
bitmasks
,
brute force
,
dp
2200
x3296
1852C
Ina of the Mountain
data structures
,
dp
,
greedy
,
math
2400
x1423
1849E
Max to the Right of Min
binary search
,
data structures
,
divide and conquer
,
dp
,
dsu
,
two pointers
2300
x1485
1848F
Vika and Wiki
binary search
,
bitmasks
,
combinatorics
,
divide and conquer
,
dp
,
math
2400
x1433
1845E
Boxes and Balls
dp
,
implementation
,
math
2500
x1253
1843F2
Omsk Metro (hard version)
data structures
,
dfs and similar
,
divide and conquer
,
dp
,
math
,
trees
2300
x1456
1842E
Tenzing and Triangle
data structures
,
dp
,
geometry
,
greedy
,
math
2300
x1519
1840F
Railguns
brute force
,
dfs and similar
,
dp
,
graphs
2200
x1681
1839E
Decreasing Game
constructive algorithms
,
dfs and similar
,
dp
,
greedy
,
interactive
2400
x1129
1839D
Ball Sorting
data structures
,
dp
,
sortings
2100
x2160
1838E
Count Supersequences
combinatorics
,
dp
,
math
2500
x1347
1832E
Combinatorics Problem
brute force
,
combinatorics
,
dp
2200
x2046
1827B2
Range Sorting (Hard Version)
binary search
,
data structures
,
dp
,
greedy
2400
x1745
1826E
Walk the Runway
bitmasks
,
brute force
,
data structures
,
dp
,
graphs
,
implementation
,
sortings
2400
x1488
1824C
LuoTianyi and XOR-Tree
data structures
,
dfs and similar
,
dp
,
dsu
,
greedy
,
trees
2500
x1234
1823E
Removing Graph
brute force
,
dp
,
games
,
graphs
,
math
2500
x1185
1821E
Rearrange Brackets
brute force
,
dp
,
greedy
,
sortings
,
strings
2100
x2219
1819C
The Fox and the Complete Tree Traversal
constructive algorithms
,
dp
,
implementation
,
math
,
trees
2400
x1382
1814E
Chain Chips
data structures
,
dp
,
matrices
2300
x1223
1811G2
Vlad and the Nice Paths (hard version)
binary search
,
combinatorics
,
data structures
,
dp
,
math
,
two pointers
2200
x1597
1811G1
Vlad and the Nice Paths (easy version)
combinatorics
,
dp
,
math
2100
x1893
1809E
Two Tanks
binary search
,
dp
,
implementation
,
math
2400
x787
1808E2
Minibuses on Venus (medium version)
combinatorics
,
divide and conquer
,
dp
,
matrices
2500
x640
1808E1
Minibuses on Venus (easy version)
combinatorics
,
divide and conquer
,
dp
2200
x1240
1806D
DSU Master
combinatorics
,
dp
,
dsu
,
math
2500
x835
1805E
There Should Be a Lot of Maximums
brute force
,
data structures
,
dfs and similar
,
dp
,
trees
,
two pointers
2300
x1513
1804E
Routing
bitmasks
,
brute force
,
dfs and similar
,
dp
,
graphs
2400
x1352
1801D
The way home
binary search
,
data structures
,
dp
,
graphs
,
greedy
,
shortest paths
,
sortings
2100
x2025
1799D2
Hot Start Up (hard version)
data structures
,
dp
2100
x2248
1798F
Gifts from Grandfather Ahmed
dp
,
math
,
number theory
2500
x463
1798E
Multitest Generator
brute force
,
dp
2300
x1487
1796E
Colored Subgraphs
dfs and similar
,
dp
,
games
,
greedy
,
trees
2500
x683
1795E
Explosions?
binary search
,
data structures
,
dp
,
greedy
,
math
2200
x1900
1794E
Labeling the Tree with Distances
data structures
,
dp
,
greedy
,
hashing
,
implementation
,
trees
2400
x998
1792E
Divisors and Table
brute force
,
dfs and similar
,
dp
,
number theory
2400
x1295
1789E
Serval and Music Game
brute force
,
dp
,
implementation
,
math
,
number theory
2500
x754
1788E
Sum Over Zero
data structures
,
dfs and similar
,
dp
2200
x2445
1784D
Wooden Spoon
combinatorics
,
dp
2400
x942
1780F
Three Chairs
bitmasks
,
brute force
,
combinatorics
,
data structures
,
dp
,
number theory
,
sortings
2300
x1360
1779F
Xorcerer's Stones
bitmasks
,
constructive algorithms
,
dp
,
trees
2500
x1213
1778D
Flexible String Revisit
combinatorics
,
dp
,
math
,
probabilities
2100
x2524
1776B
Vittorio Plays with LEGO Bricks
dp
,
geometry
2200
x1236
1775F
Laboratory on Pluto
constructive algorithms
,
dp
,
greedy
,
math
2500
x729
1771E
Hossam and a Letter
brute force
,
dp
,
implementation
,
two pointers
2500
x656
1771D
Hossam and (sub-)palindromic tree
brute force
,
data structures
,
dfs and similar
,
dp
,
strings
,
trees
2100
x2579
1770E
Koxia and Tree
combinatorics
,
dfs and similar
,
dp
,
dsu
,
math
,
probabilities
,
trees
2400
x1289
1767E
Algebra Flash
bitmasks
,
brute force
,
dp
,
graphs
,
math
,
meet-in-the-middle
,
trees
2500
x823
1767C
Count Binary Strings
data structures
,
dp
2100
x2482
1766E
Decomposition
binary search
,
brute force
,
data structures
,
divide and conquer
,
dp
,
two pointers
2300
x1119
1765F
Chemistry Lab
dp
,
geometry
,
probabilities
2200
x586
1764E
Doremy's Number Line
dp
,
greedy
,
sortings
2400
x1172
1763E
Node Pairs
dp
,
graphs
,
math
,
number theory
2200
x1680
←
1
2
3
...
6
7
→
User lists
Name