0_0_24542730_15997.cpp: In function 'void Init()': 0_0_24542730_15997.cpp:22:12: error: 'head' was not declared in this scope memset(head,-1,sizeof(head)); ^