CF 106056A - Is it well known in Poland?

I don’t have a reliable reconstruction of the full statement of Codeforces 106056A (“Is it well known in Poland?”), and there are multiple similarly named Gym problems, so writing a correct editorial without the actual problem would very likely drift into guessing.

CF 106056A - Is it well known in Poland?

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

Solution

I don’t have a reliable reconstruction of the full statement of Codeforces 106056A (“Is it well known in Poland?”), and there are multiple similarly named Gym problems, so writing a correct editorial without the actual problem would very likely drift into guessing.

If you paste the statement (or even just the input/output description and constraints), I can produce the full Codeforces-style editorial exactly in the format you requested, including the algorithm walkthrough, proofs, tests, and edge cases.