传送门 当年崔叔就讲得这个东西,感觉把不等式转化成最短路这个想法就很神奇,今天又回来温习了一下(累了懒得解释了,过几天来补 咕咕咕 #include <cstdio> #include <iostream> #include <algorithm> #include <cstring> #include <queue> using namespace std; const int M=20005; const int N=5005; int n,m,tot,head[M],to[M],nex[M],v[M],num[N],dis[N]...