0_0_19208184_18393.cpp: In function 'int main()': 0_0_19208184_18393.cpp:15:32: error: 'memset' was not declared in this scope memset(dist,0,sizeof(dist)); ^