0_0_29624882_20517.cpp: In function 'int find(int)': 0_0_29624882_20517.cpp:17:27: error: invalid types '<unresolved overloaded function type>[int]' for array subscript return pre[x]==x?x:find[x]=find(pre[x]); ^