0_0_14979117_18075.cpp: In function 'int main(int, char**)': 0_0_14979117_18075.cpp:19:34: error: 'memset' was not declared in this scope memset(dp, -1, sizeof(dp)); ^