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