随笔分类 - 网络流
摘要:#include #include #include #include #include using namespace std; const int MAXN=10100; const int MAXM=40010; const int INF=0x3f3f3f3f; struct Edge //cost代表单位流量流过该边时,所需的费用大小 { int to...
阅读全文
摘要:#include #include #include #include using namespace std; const int MAXN=100010; //点的个数 const int MAXM=400010; //边的个数 const int INF=0x3f3f3f3f; struct Edge { int to,next,cap,flow; //cap代...
阅读全文