Rosetta Problems

白色光 2 (White Light 2)

https://atcoder.jp/contests/joi2024yo2/tasks/joi2024_yo2_c