Rosetta Problems

くじ引き (Lottery)

https://atcoder.jp/contests/joiopen2025/tasks/joiopen2025_b