Click 1-bfs.cpp link to view the file.