Link. This problem appeared in ICPC Amritapuri 2022 Qualifier Round and here with lower constraints. Please help.
Help needed in last year's ICPC regionals problem.
Link. This problem appeared in ICPC Amritapuri 2022 Qualifier Round and here with lower constraints. Please help.