Rosetta Problems

杰拉尔德和巨型象棋

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