0_0_16719801_7264.cpp: In function 'void init(UF*, int)':
0_0_16719801_7264.cpp:15:36: error: invalid conversion from 'void*' to 'int*' [-fpermissive]
uf->id = malloc(sizeof(int) * N);
^
0_0_16719801_7264.cpp:16:36: error: invalid conversion from 'void*' to 'int*' [-fpermissive]
uf->sz = malloc(sizeof(int) * N);
^
|