Rosetta Problems

ICPC 2021 vòng Quốc gia - D: Distinctive Tours

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