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