Rosetta Problems

Multistory Parking Lot

https://onlinejudge.u-aizu.ac.jp/problems/0192