0_0_28567716_16457.cpp:4:7: error: 'maxn' was not declared in this scope
int p[maxn];
^
0_0_28567716_16457.cpp: In function 'int find(int)':
0_0_28567716_16457.cpp:8:14: error: 'p' was not declared in this scope
while (x != p[x])
^
0_0_28567716_16457.cpp: In function 'void link(int, int)':
0_0_28567716_16457.cpp:18:3: error: 'p' was not declared in this scope
p[fa] = fb;
^
0_0_28567716_16457.cpp: In function 'int main()':
0_0_28567716_16457.cpp:31:4: error: 'p' was not declared in this scope
p[i] = i;
^
0_0_28567716_16457.cpp:39:8: error: 'p' was not declared in this scope
if (p[i] == i)
^
|