Rosetta Problems
← atcoder に戻る
Merge the balls
https://atcoder.jp/contests/abc351/tasks/abc351_c