1087 All Roads Lead to Rome (30 point(s))

题解 dijkstra。 #include<iostream> #include<cstdio> #include<vector> #include<map> #include<algorithm> using namespace std; const int INF = 0x3f3f3f3f; const int MAXN = 2e2 + 10; int e[MAXN][MAXN], dis[M
相关文章
相关标签/搜索