Rosetta Problems

博覧会

https://atcoder.jp/contests/joi2010ho/tasks/joi2010ho_d