loj117_有源汇有上下界最小流
#include<cstdio>
#include<queue>
#include<cstring>
using namespace std;
const int N=125100;
int n,m,s,t,tot=1,hd[(int)6e4],cur[(int)6e4],ss,tt,dep[(int)6e4];
long long flow[(int)6e4],l[N];
struct Edge
{
int to,nxt;
long long val;
}e[N*3+99];
inline voi
more...