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