摘要:
#include <bits/stdc++.h> using namespace std; const int N = 100010; int h[N], e[N], w[N], ne[N], idx; int dist[N]; bool st[N]; int m, n; void add(int 阅读全文
posted @ 2020-08-12 19:53
Sexyomaru
阅读(121)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; const int N = 550, M = 10010; struct Edges{int a, b, w;}edges[M]; int dist[N], pre[N]; int m, n, k; int 阅读全文
posted @ 2020-08-12 19:41
Sexyomaru
阅读(104)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; const int N = 1000010; int h[N], e[N], ne[N], w[N], idx; int dist[N]; bool st[N]; int m, n; void add(int 阅读全文
posted @ 2020-08-12 19:28
Sexyomaru
阅读(123)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; const int N = 550, M = 10010; int g[N][N], dist[N]; bool st[N]; int m, n; int dijkstra() { memset(dist,0 阅读全文
posted @ 2020-08-12 19:13
Sexyomaru
阅读(128)
评论(0)
推荐(0)

浙公网安备 33010602011771号