0_0_21844851_23697.cpp:5:37: error: expected ',' or ';' before 'INF'
const int N = 3010, M = 200000 + 10 INF = 0x3f3f3f3f;
^
0_0_21844851_23697.cpp: In function 'int findset(int)':
0_0_21844851_23697.cpp:33:17: error: 'fa' was not declared in this scope
return u == fa[u] ? u : fa[u] = findset(fa[u]);
^
0_0_21844851_23697.cpp: In function 'void merge(int, int)':
0_0_21844851_23697.cpp:41:5: error: 'fa' was not declared in this scope
fa[v] = u;
^
0_0_21844851_23697.cpp: In function 'int MinimumCutPhase(int, int&, int&)':
0_0_21844851_23697.cpp:55:49: error: invalid types '<unresolved overloaded function type>[int]' for array subscript
for (int p = head[u]; ~p; p = next[p])
^
0_0_21844851_23697.cpp:57:33: error: 'to' was not declared in this scope
int v = findset(to[p]);
^
0_0_21844851_23697.cpp:59:55: error: 'weight' was not declared in this scope
que.push(std::make_pair(val[v] += weight[p], v));
^
0_0_21844851_23697.cpp: In function 'int StoerWagner()':
0_0_21844851_23697.cpp:76:15: error: 'INF' was not declared in this scope
int res = INF;
^
0_0_21844851_23697.cpp: In function 'int main()':
0_0_21844851_23697.cpp:90:14: error: too few arguments to function 'void init(int)'
init();
^
0_0_21844851_23697.cpp:20:6: note: declared here
void init(int n)
^
|