graph g; mapv; ll n,m,w,z; int b[2d5],c[2d5]; void f(int i){ rep[g.edge[i]](j,g.es[i]) if(j