wgraphg; int@n,@m,@x,@(u--,v--,ll c,t)[m]; c[0..m-1]+=t[0..]*(ll)x; g.setEdge(n,m,u,v,c); wt(g.getDistT(0,n-1,-x)/+x);