传送门 来自题解:luogu/wiki/show?name=题解+P3385 1.BellmanFord 通过BelmanFord求出最短路,然后在进行一遍松弛操作,如果可以再松弛说明存在负环,否则不...模板,spfa,负环,最短路,Bellman-Ford
共1页/1条