MST problem
Hello, can you give me a hint on how to solve this problem? I read the editorial, but still can not solve it. Thanks so much.
ICPC NA North Central and South Division