摘要:
#include #include #include #include #include using namespace std;#define INF 0x7fffffffstruct edge{ int t; long long d;};vector g[20005];int n, ... 阅读全文
摘要:
#include #include #include using namespace std;const int INF = 0x3fffffff;int g[1005][1005];int m;void Floyd(){ int i, j, k; for (k=1;kg[i][k]... 阅读全文
摘要:
#include #include #include using namespace std;const int INF = 0x3fffffff;int g[1005][1005];int m;int Dijkstra(int s,int t){ bool visit[1005]; ... 阅读全文
摘要:
#include #include #include #include #include using namespace std; int map[1015][1015]; void update(int x,int y, int n) ... 阅读全文