Rosetta Problems

ビルの飾り付け (Building)

https://atcoder.jp/contests/joisc2007/tasks/joisc2007_buildi