0_0_29800116_10667.cpp: In function 'int main()': 0_0_29800116_10667.cpp:33:27: error: 'memset' was not declared in this scope memset(dp, 0, sizeof(dp)); ^