auto [u, v, w, c] = tie(e[i].u, e[i].v, e[i].w, e[i].c); u = dsu.find(u), v = dsu.find(v);
这里 u,vu,vu,v 都是引用。。。。。。
调了我一天。。。。
教训:不熟悉的函数少用。