Hey Everyone, Can anyone tell how to solve the problem Weights on vertices and edges from atcoder recent contest. Editorial seems a way difficult to understand. If anyone solved that problem, pls help me. Thanks! I have started this thread to know other's idea about the problem.