CF 103714A - Диплом

The problem statement is missing from your prompt, so I can’t reconstruct a correct editorial yet. Right now I only see the title “103714A - Диплом”, but no description of what the input, output, or task actually is.

CF 103714A - \u0414\u0438\u043f\u043b\u043e\u043c

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

Solution

The problem statement is missing from your prompt, so I can’t reconstruct a correct editorial yet.

Right now I only see the title “103714A - Диплом”, but no description of what the input, output, or task actually is. For Codeforces editorials, even a small ambiguity completely changes the solution, so I need the full statement.

Paste the problem text (or a screenshot / link content), and I’ll write the full editorial in the exact format you requested.