Rosetta Problems

黑白棋

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