题目 https://www.luogu.com.cn/problem/AT_abc256_e
图论题,是个环套树
发现环上的边要取掉一条(min),其他的不用取
https://www.luogu.com.cn/record/131488937