摘要:
最小费用,最大流的思想,也不知道怎么稀里糊涂就ac啦#include <iostream>
#include <cstring>
#include <queue>
using namespace std;
const int maxn=102;
const int inf=2<<20;
int cost[maxn][maxn],flow[maxn][maxn],cap[maxn][maxn],d[maxn];
int n,m;
int solve()
{ queue<int> q; int i,vis[maxn],p[maxn],to 阅读全文
posted @ 2012-11-08 14:45
LJ_COME!!!!!
阅读(146)
评论(0)
推荐(0)

浙公网安备 33010602011771号