Rosetta Problems

回転マスゲーム

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1545