Rosetta Problems

ケーキの切り分け2 (Cake 2)

https://atcoder.jp/contests/joi2015ho/tasks/joi2015ho_b