#abc214d. [abc214_d]Sum of Maximum Weights

[abc214_d]Sum of Maximum Weights

给出一个有N1N−1条边的树,求树上每两点之间最短路的最大权值边的和。