0_0_37287915_18167.cpp: In function 'int find(int)': 0_0_37287915_18167.cpp:22:7: error: 'p' was not declared in this scope if(p[x] != x) p[x] = find(p[x]); ^ 0_0_37287915_18167.cpp:23:12: error: 'p' was not declared in this scope return p[x]; ^