0_0_22105093_12979.cpp:27:26: error: 'M' was not declared in this scope
const int maxm = 2 * N + M + N * N + N * M;
^
0_0_22105093_12979.cpp:27:42: error: 'M' was not declared in this scope
const int maxm = 2 * N + M + N * N + N * M;
^
0_0_22105093_12979.cpp: In function 'void add(int, int, int, int)':
0_0_22105093_12979.cpp:50:5: error: 'E' was not declared in this scope
E[tot] = edge(t, head[s], cap, cost);
^
0_0_22105093_12979.cpp: In function 'int spfa(int, int)':
0_0_22105093_12979.cpp:68:39: error: 'E' was not declared in this scope
for (int i = head[u]; ~i; i = E[i].nxt)
^
0_0_22105093_12979.cpp: In function 'void MCMF(int, int)':
0_0_22105093_12979.cpp:92:28: error: 'E' was not declared in this scope
Min = min(Min, E[pat[i]].cap);
^
0_0_22105093_12979.cpp:95:13: error: 'E' was not declared in this scope
E[pat[i]].cap -= Min;
^
|