#include #define to edge[i].v #define mp make_pair #define rint register int #define fgx cerr<<"-------------"< pii; void dbg(){cerr<void dbg(A x,B... y){cerr<m) cout<<"-1"<<" \n"[i==n]; else cout<