Rosetta Problems
← atcoder に戻る
Social Distance on Graph
https://atcoder.jp/contests/arc165/tasks/arc165_c