Rosetta Problems

ダンジョン3

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1372