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