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