0_0_20110358_31594.cpp: In function 'int main(int, int*)': 0_0_20110358_31594.cpp:13:28: error: 'memset' was not declared in this scope memset(flag,0,sizeof(flag)); ^