Блог пользователя Misuki

Автор Misuki, 13 месяцев назад, По-английски

Hello codeforces community! Today I want to share my solution to a counting problem from recent contest: 1842G — Tenzing and Random Operations.

But first, why would I write a blog specifically for this problem? Because I found out this solution comprises a lot of common technique in counting problems and basic problem solving skill, which may be served as a wrap up of standard counting technique and idea used in CP, also providing an evidence that you can solve recent CF problems by just mastering the basic problem solving skill and common techniques, even on a 2800* one! And last but not least, provide an alternative solution to the problem :)

Now, let get started with the solution itself.

The problem description

For people who haven't try it, I recommend you to try it first before opening the spoiler!

Spoiler
  • Проголосовать: нравится
  • +35
  • Проголосовать: не нравится

»
13 месяцев назад, # |
  Проголосовать: нравится +8 Проголосовать: не нравится

Auto comment: topic has been updated by Misuki (previous revision, new revision, compare).