不啦不啦不啦
Edmond-Karp 动能算法(EK算法)
1 | int head[N], ver[M], edge[M], nex[M], incf[N], pre[N]; |
Dinic 算法
1 | int head[N], ver[M], edge[M], nex[M], dep[N]; |
ISAP算法
1 | int n, m, s, t, tot; |
MCMF算法
1 | int head[N], ver[M], nex[M], edge[M], cost[M]; |
不啦不啦不啦
1 | int head[N], ver[M], edge[M], nex[M], incf[N], pre[N]; |
1 | int head[N], ver[M], edge[M], nex[M], dep[N]; |
1 | int n, m, s, t, tot; |
1 | int head[N], ver[M], nex[M], edge[M], cost[M]; |