0_0_26787565_22277.cpp:8:12: error: 'N' was not declared in this scope
int father[N],vis[N];
^
0_0_26787565_22277.cpp:8:19: error: 'N' was not declared in this scope
int father[N],vis[N];
^
0_0_26787565_22277.cpp: In function 'int Find(int)':
0_0_26787565_22277.cpp:12:11: error: 'father' was not declared in this scope
if(x!=father[x])
^
0_0_26787565_22277.cpp: In function 'void Union(int, int)':
0_0_26787565_22277.cpp:20:14: error: 'father' was not declared in this scope
if(x!=y) father[y]=x;
^
0_0_26787565_22277.cpp: In function 'void del(int)':
0_0_26787565_22277.cpp:24:5: error: 'father' was not declared in this scope
father[x]=cnt;
^
0_0_26787565_22277.cpp: In function 'int main()':
0_0_26787565_22277.cpp:35:13: error: 'father' was not declared in this scope
father[i]=i+n;
^
0_0_26787565_22277.cpp:37:13: error: 'father' was not declared in this scope
father[i]=i;
^
0_0_26787565_22277.cpp:55:16: error: 'vis' was not declared in this scope
memset(vis,0,sizeof(vis));
^
|