Rosetta Problems

宿題 (Homework)

https://atcoder.jp/contests/joi2013yo/tasks/joi2013yo_a