int u[2000],v[2000],w[2000]; ll s[2000]; ll z=ll_inf; wgraph g; DijkstraHeap h; void f(int i,int p,ll d){ if(s[i]){ if(s[i]>0) z