Rosetta Problems

電子回路 2 (Circuit 2)

https://atcoder.jp/contests/joisp2025/tasks/joisp2025_j