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