Rosetta Problems

モンスターゲーム (Monster Game)

https://atcoder.jp/contests/joiopen2021/tasks/joiopen2021_c