Rosetta Problems

スタンプラリー 3 (Collecting Stamps 3)

https://atcoder.jp/contests/joi2020ho/tasks/joi2020ho_c