0_0_32191947_22027.cpp:34:15: error: 'siz' was not declared in this scope
int Enum, ans[siz];
^
0_0_32191947_22027.cpp:39:7: error: 'siz' was not declared in this scope
}edge[siz], tmp;
^
0_0_32191947_22027.cpp:44:7: error: 'siz' was not declared in this scope
int f[siz];//µã
^
0_0_32191947_22027.cpp: In function 'int Find(int)':
0_0_32191947_22027.cpp:46:27: error: 'f' was not declared in this scope
int Find(int u) { return (f[u] == u) ? u : f[u] = Find(f[u]); }
^
0_0_32191947_22027.cpp: In function 'void kruscal(int)':
0_0_32191947_22027.cpp:51:6: error: 'ii' was not declared in this scope
per(ii, 1, n)f[i] = i;
^
0_0_32191947_22027.cpp:51:14: error: 'per' was not declared in this scope
per(ii, 1, n)f[i] = i;
^
0_0_32191947_22027.cpp:54:13: error: expected primary-expression before '[' token
tmp = edge[Ecnt++];
^
0_0_32191947_22027.cpp:57:14: error: expected primary-expression before '[' token
tmp = edge[Ecnt++];
^
0_0_32191947_22027.cpp:63:4: error: 'f' was not declared in this scope
f[Find(tmp.b)] = Find(tmp.a);
^
0_0_32191947_22027.cpp:68:2: error: 'ans' was not declared in this scope
ans[Euse] = min(ans[Euse], ret);//
^
0_0_32191947_22027.cpp:70:13: error: expected primary-expression before '[' token
tmp = edge[v.front()]; v.erase(v.begin());
^
0_0_32191947_22027.cpp: In function 'int main()':
0_0_32191947_22027.cpp:85:7: error: 'ii' was not declared in this scope
per(ii, 0, m)ans[ii] = inf;
^
0_0_32191947_22027.cpp:85:15: error: 'per' was not declared in this scope
per(ii, 0, m)ans[ii] = inf;
^
|