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