>>308
C 幅優先探索
https://ideone.com/IsSgky