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