摘要:
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(... 阅读全文
摘要:
#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 阅读全文
摘要:
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 ... 阅读全文