Submit the hdoj 1026 bfs version. But it still causes the TLE