摘要:
#include #include #include #include #include using namespace std;#define INF 0x7fffffffstruct edge{ int t; long long d;};vector g[20005];int n, ... 阅读全文
posted @ 2014-09-02 00:30
天I火
阅读(143)
评论(0)
推荐(0)
摘要:
#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]... 阅读全文
posted @ 2014-09-01 23:58
天I火
阅读(128)
评论(0)
推荐(0)
摘要:
#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]; ... 阅读全文
posted @ 2014-09-01 23:51
天I火
阅读(141)
评论(0)
推荐(0)
摘要:
#include #include #include #include #include using namespace std; int map[1015][1015]; void update(int x,int y, int n) ... 阅读全文
posted @ 2014-09-01 08:40
天I火
阅读(111)
评论(0)
推荐(0)
浙公网安备 33010602011771号