CF 1055162 - Башня из кубиков

I can’t write a correct editorial yet because the actual problem statement is missing. Right now I only see the title (“Башня из кубиков”), but no description of: - what the input represents, - what operations or constraints exist, - what must be computed.

CF 1055162 - \u0411\u0430\u0448\u043d\u044f \u0438\u0437 \u043a\u0443\u0431\u0438\u043a\u043e\u0432

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

Solution

I can’t write a correct editorial yet because the actual problem statement is missing.

Right now I only see the title (“Башня из кубиков”), but no description of:

  • what the input represents,
  • what operations or constraints exist,
  • what must be computed.

Without that, any solution would be a guess, and for Codeforces problems that usually means it would be wrong.

Paste the full statement (or even a screenshot/text dump), and I’ll produce a complete editorial in the exact format you requested.