dijkstra算法: 求指定两点间的距离(不适用负边权),O(n^2) #include<iostream> #include<vector> #include<cstdio> using namespace std; const int INF = 0x3fffffff; const