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