0_0_33258234_22760.cpp:5:11: error: array bound is not an integer constant before ']' token
int fath[N],ins[N],n;
^
0_0_33258234_22760.cpp:5:18: error: array bound is not an integer constant before ']' token
int fath[N],ins[N],n;
^
0_0_33258234_22760.cpp: In function 'void init()':
0_0_33258234_22760.cpp:10:9: error: 'fath' was not declared in this scope
fath[i]=i,ins[i]=0;
^
0_0_33258234_22760.cpp:10:19: error: 'ins' was not declared in this scope
fath[i]=i,ins[i]=0;
^
0_0_33258234_22760.cpp: In function 'int findfath(int)':
0_0_33258234_22760.cpp:14:11: error: 'fath' was not declared in this scope
if(x!=fath[x])
^
0_0_33258234_22760.cpp:16:12: error: 'fath' was not declared in this scope
return fath[x];
^
0_0_33258234_22760.cpp: In function 'void merger(int, int)':
0_0_33258234_22760.cpp:22:5: error: 'fath' was not declared in this scope
fath[x]=y;
^
0_0_33258234_22760.cpp: In function 'int main()':
0_0_33258234_22760.cpp:63:16: error: 'fath' was not declared in this scope
if(fath[i]==i)
^
|