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