0_0_19916936_12157.cpp: In function 'int main(int, const char**)': 0_0_19916936_12157.cpp:151:70: error: 'memset' was not declared in this scope memset(&dist, (numeric_limits<unsigned int>::max)(), sizeof(dist)); ^