Rosetta Problems

Nth Floor Dungeon and K Brave Men

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