Rosetta Problems
← atcoder に戻る
Weights on Vertices and Edges
https://atcoder.jp/contests/nikkei2019-qual/tasks/nikkei2019_qual_e