0_0_18451200_17046.cpp: In function 'int main(int, char**)': 0_0_18451200_17046.cpp:57:35: error: 'memset' was not declared in this scope memset(head,-1,sizeof(head)); ^