您的位置:首页 > 大数据 > 人工智能

PKU 1273 Drainage Ditches

2009-05-08 11:28 225 查看
分析:第一个网络最大流的题目,绝对经典,值得一做。代码没怎么优化,方便做参考。

#include <iostream>

#include <deque>

#include <queue>

using namespace std;

#define MAXN 201

int Map[MAXN][MAXN],n;

typedef struct __Path

typedef deque<Path> PathList; // 路径

int CalMin(PathList path)

bool FindPath(int &min,PathList &path,const int source,const int target)

int main()
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: