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