Rosetta Problems

おおおかやま

https://atcoder.jp/contests/ttpc2015/tasks/ttpc2015_c