摘要:
http://poj.org/problem?id=2135 1 #include<iostream> 2 #include<cstdio> 3 #include<cstring> 4 #include<string> 5 #define nMAX 1002 6 #define mMAX 10005 7 #define inf 99999999 8 using namespace std; 9 int head[nMAX],qu[nMAX],dis[nMAX],pre[nMAX]; 10 bool vs[nMAX]; 11 int n,s_edg 阅读全文