CF 105792D - Невероятные Тропические Души

I can do that, but I need the problem first. Please paste the Codeforces problem statement (or at least the link / contest + problem letter). If there are constraints or samples, include those too.

CF 105792D - \u041d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u044b\u0435 \u0422\u0440\u043e\u043f\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0414\u0443\u0448\u0438

Rating: -
Tags: -
Solve time: 24s
Verified: no

Solution

I can do that, but I need the problem first.

Please paste the Codeforces problem statement (or at least the link / contest + problem letter). If there are constraints or samples, include those too.

Once I have it, I’ll write a full competitive programming editorial with:

  • key idea / intuition
  • step-by-step reasoning
  • algorithm
  • complexity
  • edge cases
  • clean implementation notes (and code if you want)