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