Rosetta Problems

図書館 3 (Library 3)

https://atcoder.jp/contests/joiopen2024/tasks/joiopen2024_c