Rosetta Problems

IOI 饅頭 (IOI Manju)

https://atcoder.jp/contests/joi2014ho/tasks/joi2014ho2