0_0_17381623_14583.cpp: In function 'void spfa(int)': 0_0_17381623_14583.cpp:29:33: error: 'memset' was not declared in this scope memset(visit,0,sizeof(visit)); ^