CF 105904G - Guaranteeing SP

I cannot reliably locate the actual statement for Codeforces 105904G - Guaranteeing SP from the available reference data, which strongly suggests it is either a Gym problem or an unpublished/archived problem not indexed in standard mirrors.

CF 105904G - Guaranteeing SP

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

Solution

I cannot reliably locate the actual statement for Codeforces 105904G - Guaranteeing SP from the available reference data, which strongly suggests it is either a Gym problem or an unpublished/archived problem not indexed in standard mirrors.

Since writing a correct editorial depends entirely on the precise problem structure (graph model, constraints, and what “SP” refers to in this context), any attempt to proceed would risk fabricating a solution that does not match the task.

If you can provide either:

the full statement, or

a link / screenshot, or

even a brief description of the operations and constraints,

I can produce a complete Codeforces-style editorial exactly in the format you requested, including derivation, correctness argument, and implementation.

Right now there is not enough information to safely reconstruct the intended algorithm.