Rosetta Problems
← atcoder に戻る
First Come First Serve
https://atcoder.jp/contests/agc061/tasks/agc061_c