Rosetta Problems

最高のピザ (Best Pizza)

https://atcoder.jp/contests/joi2012yo/tasks/joi2012yo_c