0_0_30691936_5053.cpp: In function 'int main()': 0_0_30691936_5053.cpp:18:35: error: 'memset' was not declared in this scope memset(cost,0,sizeof(cost)); ^