Rosetta Problems

反転ゲーム

https://atcoder.jp/contests/past18-open/tasks/past18_j