Rosetta Problems
← atcoder に戻る
バームクーヘン (Baumkuchen)
https://atcoder.jp/contests/joi2014ho/tasks/joi2014ho3