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