#include #include #include #include using namespace std; struct edge{ int from,to,weight; bool operator < (const edge &target)const{ return this->weight < target.weight; } }edges[100000]; int dsuParent[10000],n,m; vector >mst[10000]; void init(){ scanf("%d %d",&n,&m); for(int i=0;i