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