0_0_20160319_18467.cpp: In function 'int main()': 0_0_20160319_18467.cpp:76:30: error: 'memset' was not declared in this scope memset(flag,0,sizeof(flag)); ^