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