CF 1047744 - Скучные квартиры

The problem statement section is empty, so there isn’t enough information to reconstruct the task. To write a correct Codeforces-style editorial, I need at least the full problem description or a link/text of what “Скучные квартиры” asks, including input…

CF 1047744 - \u0421\u043a\u0443\u0447\u043d\u044b\u0435 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u044b

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

Solution

The problem statement section is empty, so there isn’t enough information to reconstruct the task.

To write a correct Codeforces-style editorial, I need at least the full problem description or a link/text of what “Скучные квартиры” asks, including input format, output format, and constraints.

Send that, and I’ll produce the complete structured editorial in the format you specified.