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