Rosetta Problems
← atcoder に戻る
Solutions
https://atcoder.jp/contests/arc106/tasks/arc106_c