Rosetta Problems

古本屋 (Books)

https://atcoder.jp/contests/joi2011ho/tasks/joi2011ho2