0_0_21804987_5026.cpp: In function 'void BFS2()': 0_0_21804987_5026.cpp:49:36: error: 'memset' was not declared in this scope memset( visit, 0, sizeof( visit ) ); ^