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