Rosetta Problems

黑白格

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