0_0_29628226_1156.cpp:4:29: error: 'i' was not declared in this scope
int n,m,ans,root[1005],rank[i];
^
0_0_29628226_1156.cpp: In function 'void unio(int, int)':
0_0_29628226_1156.cpp:14:5: error: 'rank' was not declared in this scope
if(rank[xr]<rank[yr])
^
0_0_29628226_1156.cpp: In function 'int main()':
0_0_29628226_1156.cpp:27:14: error: 'rank' was not declared in this scope
root[i]=i,rank[i]=0;
^
|