版本比较
题解 AT4994 【[AGC034D] Manhattan Max Matching】
正文
增加 1 行删除 1 行
20 行未改动2122232425252627282956 行未改动20 行未改动
struct Edge{ int to,next,flow,cost; } e[MAXN << 1];
void add_edge(int u,int v,int flow,int cost){ e[++len] = (Edge){v,head[u],flow,cost}; head[u] = len; e[++len] = (Edge){u,head[v],0,-cost};56 行未改动