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