Rosetta Problems

黑暗城堡

https://www.acwing.com/problem/content/351