Rosetta Problems
← atcoder に戻る
Painting Balls with AtCoDeer
https://atcoder.jp/contests/abc046/tasks/abc046_b