摘要: 1 #define INF 0x3f3f3f3f 2 const int maxn = 503; 3 #define _for(i,a,b) for(int i = (a);i G[maxn]; 18 //from s to other V 19 void shortest_path(int s) 20 { 21 _for(... 阅读全文
posted @ 2019-03-20 19:24 Asurudo 阅读(311) 评论(0) 推荐(0) 编辑
摘要: #include <bits/stdc++.h> #define pb push_back #define _for(i,a,b) for(int i = (a);i < (b);i ++) #define INF 0x3f3f3f3f using namespace std; const int 阅读全文
posted @ 2019-03-20 17:30 Asurudo 阅读(233) 评论(0) 推荐(1) 编辑
摘要: 1 #include 2 using namespace std; 3 4 #define pb push_back 5 #define maxSize 3939 6 #define _for(i,a,b) for(int i = (a);i list; 22 int num; 23 while(~scanf("%d",&num) && num!=0) 24 ... 阅读全文
posted @ 2019-03-20 15:37 Asurudo 阅读(172) 评论(0) 推荐(0) 编辑