Rosetta Problems

夜店 (Night Market)

https://atcoder.jp/contests/joi2012ho/tasks/joi2012ho3