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