摘要:
#include<iostream> #include<cstring> #include<queue> using namespace std; const int N=1e6; int h[N],e[N],ne[N],w[N]; int n,m; int idx; bool st[N]; int 阅读全文
posted @ 2020-01-29 11:26
晴屿
阅读(100)
评论(0)
推荐(0)
摘要:
#include<math.h> #include<iomanip> //setprecision头文件 #include<stdio.h> #include<iostream> #include<algorithm> #include<string.h> #include<queue> using 阅读全文
posted @ 2020-01-29 11:25
晴屿
阅读(118)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<algorithm> #include<queue> #include<map> #include<cstring> #include<cstring> #include<cstdio> #include<math.h> using names 阅读全文
posted @ 2020-01-29 11:24
晴屿
阅读(115)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<queue> #include<cstring> using namespace std; const int N=200000+10,INF=0x3f3f3f3f; int h[N],e[N],ne[N],w[N],idx; int n,m, 阅读全文
posted @ 2020-01-29 11:23
晴屿
阅读(119)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<queue> #include<cstdio> #include<cstring> using namespace std; double d[35]; int h[1010],cnt,n,pre[35]; bool vis[35]; stru 阅读全文
posted @ 2020-01-29 11:22
晴屿
阅读(160)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<queue> #include<cstring> using namespace std; const int N=1e6+10,INF=0x3f3f3f3f; int h[N],ne[N],e[N],w[N],idx; int dist[N] 阅读全文
posted @ 2020-01-29 11:20
晴屿
阅读(93)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<algorithm> using namespace std; const int N=1e5; struct edge{ int a,b,w; }e[N]; bool cmp(edge a,edge b) { return a.w<b.w; 阅读全文
posted @ 2020-01-29 11:19
晴屿
阅读(124)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cstring> #include<algorithm> using namespace std; const int N=0x3f3f3f3f; int p[50]; struct edge{ int a,b,w; }e[100]; bool 阅读全文
posted @ 2020-01-29 11:09
晴屿
阅读(110)
评论(0)
推荐(0)