Rosetta Problems

Road Construction

https://atcoder.jp/contests/ttpc2019/tasks/ttpc2019_f