0_0_36088877_10534.cpp: In function 'int main()': 0_0_36088877_10534.cpp:63:49: error: cannot convert 'double*' to 'int*' for argument '4' to 'void dfs(int, int, double, int*)' for(int i=1;i<=n;i++) dfs(i,-1,0,dist[i]); ^