摘要: http://poj.org/problem?id=1273网络流,Dinic 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 const int inf = 1 que; 33 bool vis[maxn + 10]; 34 int dist[maxn + 10]; 35 36 void bfs() 37 { 38 memset(dist, 0, sizeof(dist)); 39 while(!que.empty()) 40 { 41 que.pop... 阅读全文
posted @ 2013-08-04 18:24 Yuan1991 阅读(141) 评论(0) 推荐(0) 编辑