摘要: #include "stdio.h" //最大流模板 poj 1273#include "queue"using namespace std;int n,m;#define N 205#define INF 0x3fffffffint map[N][N];int maxf[N];int route... 阅读全文
posted @ 2013-11-27 15:58 ruo_yu 阅读(177) 评论(0) 推荐(0) 编辑
摘要: #include "cstdio" //邻接表+spfa算法(不断松弛操作) hdu 2544#include "queue"#include "string.h"using namespace std;struct node { int x; int value; //价值 int next... 阅读全文
posted @ 2013-11-27 15:30 ruo_yu 阅读(181) 评论(0) 推荐(0) 编辑