Rosetta Problems
← atcoder に戻る
Everything on It
https://atcoder.jp/contests/arc096/tasks/arc096_c