0_0_35758721_717.cpp: In function 'int main()': 0_0_35758721_717.cpp:20:28: error: 'memset' was not declared in this scope memset(dp, inf, sizeof(dp)); ^