Rosetta Problems

三连棋

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