摘要: http://poj.org/problem?id=3592 1 #include 2 #include 3 #include 4 #include 5 #define maxn 300000 6 using namespace std; 7 8 const int inf=-1q;113 q.push(src);114 dis[src]=0;115 while(!q.empty())116 {117 int u=q.front();118 q.pop();119 visi[u]=fals... 阅读全文
posted @ 2014-02-16 17:19 null1019 阅读(234) 评论(0) 推荐(0)