摘要:
思路:利用它的几条性质#include#include#include#include#include#include#include#include#include#include#include#define pb push_back#define mp make_pair#define Maxn 20010#define Maxm 2000010#define LL __int64#define Abs(x) ((x)>0?(x):(-x))#define lson(x) (xdfn[u]) return 0; low[u]=min(low[u],low[v]); ... 阅读全文
摘要:
#include #include #include #include #define mul(a) (a)*(a)using namespace std;const int Maxn = 210;const int Maxm = 100010;const int inf = 0x3f3f3f3f;struct ZKW_flow{ int st, ed, ecnt, n; int head[Maxn]; int cap[Maxm], cost[Maxm], to[Maxm], next[Maxm]; void init(){ memset(head, -1... 阅读全文