POJ 1273 Drainage Ditches
摘要:
额,又做了一遍哈,不过有一段时间没学最大流了,就当是复习复习挺好!View Code #include <stdio.h>#include <string.h>#define N 202int map[N][N];int queue[N];int pre[N];int Edmonds_Karp(int start,int end,int n){ int i,cur,front,rear; int maxflow=0; while(true) { front=rear=0; queue[rear]=start; memset(pre,-1... 阅读全文
posted @ 2011-10-21 22:00 _Never_ 阅读(159) 评论(0) 推荐(0)
浙公网安备 33010602011771号