Rosetta Problems

ICPC 2022 vòng Regional - H: Hardest Problem

https://oj.vnoi.info/problem/icpc22_regional_h