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