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