0_0_32853625_17269.cpp: In function 'void UFset()':
0_0_32853625_17269.cpp:19:5: error: 'parent' was not declared in this scope
parent[i]=-1;
^
0_0_32853625_17269.cpp: In function 'int find(int)':
0_0_32853625_17269.cpp:24:13: error: 'parent' was not declared in this scope
for(s=x;parent[s]>=0;s=parent[s]);
^
0_0_32853625_17269.cpp:27:17: error: 'parent' was not declared in this scope
int tmp=parent[x];
^
0_0_32853625_17269.cpp: In function 'void Union(int, int)':
0_0_32853625_17269.cpp:36:13: error: 'parent' was not declared in this scope
int tmp=parent[r1]+parent[r2];
^
0_0_32853625_17269.cpp: In function 'void top_sort()':
0_0_32853625_17269.cpp:54:22: error: 'parent' was not declared in this scope
if(in[i]==0&&parent[i]<=-1)
^
0_0_32853625_17269.cpp:63:23: error: 'pos' was not declared in this scope
for(i=0;i<map[pos].size();i++)
^
|