Rosetta Problems

黑白棋子的移动

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