Rosetta Problems

ICPC 2021 miền Bắc - M: Graph

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