Rosetta Problems
← atcoder に戻る
Social Distance
https://atcoder.jp/contests/arc113/tasks/arc113_f