9 hardest CSES problems. Hints&solutions.

Правка en14, от coldminded, 2025-01-29 21:27:44

CSES is a well-known resource. It has many problems from a variety of topics. Solutions to almost every problem can be found online. But for some hard problems there are no editorials yet. Getting stuck on these difficult problems can lead to frustration, which is why I decided to write solutions to them.

Inversion Probability

Hint 1
Hint 2
Hint 3
Solution

Letter Pair Move Game

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Similar problem
Solution

Removing Digits II

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Hint 6
Original problem
Solution

Counting Reorders

Hint 1
Hint 2
Hint 3
Original problem
Solution

Filling Trominos

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Hint 6
Hint 7
Similar problem
Solution

Functional Graph Distribution

Solution

Grid Completion

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Key observation
Similar problem
Solution

Two Stacks Sorting

Hint 1
Hint 2
Hint 3
Hint 4
Hint 5
Similar problems
Solution

Grid Path Construction

Теги cses, inclusion-exclusion, dp, constructive, graphs

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en14 Английский coldminded 2025-01-29 21:27:44 3 (published)
en13 Английский coldminded 2025-01-29 21:25:05 12
en12 Английский coldminded 2025-01-29 21:21:10 21 (saved to drafts)
en11 Английский coldminded 2025-01-29 20:16:44 127
en10 Английский coldminded 2025-01-29 19:09:46 94
en9 Английский coldminded 2025-01-29 18:07:25 8
en8 Английский coldminded 2025-01-29 18:04:54 1
en7 Английский coldminded 2025-01-29 16:48:35 8
en6 Английский coldminded 2025-01-29 16:43:18 571 Added links to simular/originals problems. Searched through TLE's engine http://yuantiji.ac/en/.
en5 Английский coldminded 2025-01-29 03:24:05 20
en4 Английский coldminded 2025-01-29 02:49:30 0 (published)
en3 Английский coldminded 2025-01-29 02:47:35 13 (saved to drafts)
en2 Английский coldminded 2025-01-28 14:30:46 0 (published)
en1 Английский coldminded 2025-01-28 14:29:57 12379 Initial revision (saved to drafts)