0_0_18228623_13162.cpp: In function 'int main()': 0_0_18228623_13162.cpp:33:30: error: 'memset' was not declared in this scope memset(dist,-1,sizeof(dist)); ^