CF 104672B2 - Thermometers B2

I can write the full editorial in that format, but I’m missing the actual problem statement for Codeforces 104672B2 - Thermometers B2.

CF 104672B2 - Thermometers B2

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

Solution

I can write the full editorial in that format, but I’m missing the actual problem statement for Codeforces 104672B2 - Thermometers B2.

Without the statement, anything I write would risk inventing rules, constraints, or even the intended algorithm, which would defeat the purpose of a correct editorial.

Please paste the full problem statement (or even just the input/output description and constraints). Once I have it, I’ll produce the complete step-by-step editorial in the structure you specified.