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