最短路径 (dijkstra) (记录路径) -------用数组记录---------- #include<bits/stdc++.h> using namespace std; #define maxn 1e3+10