0_0_31298260_13257.cpp:6:12: error: expected initializer before '*' token
int father2*[MAX+5];
^
0_0_31298260_13257.cpp: In function 'void init()':
0_0_31298260_13257.cpp:12:3: error: 'father' was not declared in this scope
father[i]=i;
^
0_0_31298260_13257.cpp: In function 'int _find(int)':
0_0_31298260_13257.cpp:17:13: error: 'father' was not declared in this scope
if(root != father[root])
^
0_0_31298260_13257.cpp:19:9: error: 'father' was not declared in this scope
return father[root];
^
0_0_31298260_13257.cpp: In function 'void _union(int, int)':
0_0_31298260_13257.cpp:33:3: error: 'father' was not declared in this scope
father[fx] = father[fy];
^
|