Rosetta Problems

Urban Planning and Road Development

https://atcoder.jp/contests/awc0091/tasks/awc0091_c