0_0_32474468_19485.cpp: In function 'int main()': 0_0_32474468_19485.cpp:21:44: error: 'memset' was not declared in this scope memset(cur_best, 0, sizeof cur_best); ^