Rosetta Problems

街头跳棋

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