Rosetta Problems

ICPC 2019 vòng Quốc gia - J: Just Enough Bridges

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