0_0_24340372_30856.cpp: In function 'void init()': 0_0_24340372_30856.cpp:20:31: error: 'memset' was not declared in this scope memset(head, -1, sizeof(head)), tot = 0; ^