Rosetta Problems
← atcoder に戻る
Collect Them All
https://atcoder.jp/contests/abc331/tasks/abc331_g