Rosetta Problems

Remodeling the Dungeon 2

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