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