0_0_21702958_846.cpp: In function 'void spfa()': 0_0_21702958_846.cpp:21:33: error: 'memset' was not declared in this scope memset(vis,false,sizeof(vis)); ^