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