摘要:
题目:http://acm.hdu.edu.cn/showproblem.php?pid=3549模板题,白书上的代码。。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 using namespace std; 7 8 const int INF=1q;16 memset(flow,0,sizeof(flow));17 f=0;18 while(1)19 {20 memset(a,0,sizeof(a));21 a[s]=INF;22 ... 阅读全文
posted @ 2014-02-11 20:28
水门
阅读(279)
评论(0)
推荐(0)
摘要:
题目:http://poj.org/problem?id=1364 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int INF=(1<<28); 8 int n,m,d[110];... 阅读全文
posted @ 2014-02-11 15:46
水门
阅读(148)
评论(0)
推荐(0)

浙公网安备 33010602011771号