Rosetta Problems

サーキュレーション

https://atcoder.jp/contests/ttpc2019/tasks/ttpc2019_k