0_0_26552369_10072.cpp: In function 'void dfs(int)': 0_0_26552369_10072.cpp:36:37: error: cannot convert 'DJSET' to 'void*' for argument '1' to 'void* memcpy(void*, const void*, size_t)' memcpy(dj[y], dj[x], sizeof(dj[x])); ^