随笔分类 -  图论-最短路

摘要:1 #include <bits/stdc++.h> 2 #define inf 2147483647 3 using namespace std; 4 int n, m, u, v, s, f[10005], e[10005], head[1000500], d[10005], ans, tot, 阅读全文
posted @ 2019-06-12 12:01 Achen_sy 阅读(161) 评论(0) 推荐(0)
摘要:华山论剑,双倍经验 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int maxn=1e6+5; 4 const int INF=1e9+7; 5 struct A 6 { 7 int v,w,next; 8 }e1[maxn],e 阅读全文
posted @ 2019-06-12 11:59 Achen_sy 阅读(116) 评论(0) 推荐(0)