如题:http://poj.org/problem?id=1273 EK算法求最大流,注意重边的处理。 #include<iostream> using namespace std; #include<queue> #define inf 0x7fffffff int map[202][202]; queue<int>myque; int pre[202]
Drainage Ditches Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 16292 Accepted Submission(s): 7737 Problem Description Every time it rains on