0_0_22207965_12062.cpp: In function 'int spfa()': 0_0_22207965_12062.cpp:65:34: error: 'memset' was not declared in this scope memset(dist, -1, sizeof(dist)); ^