Rosetta Problems

ケーキの切り分け (Cake)

https://atcoder.jp/contests/joisc2013-day3/tasks/joisc2013_cake