Rosetta Problems
← atcoder に戻る
Dist Max 2
https://atcoder.jp/contests/abc215/tasks/abc215_f