Walls and Gates (Multi-Source BFS)
Wall
Gate
Empty
Distance
BFS Layer (Dist)
0
當前步驟
Ready.
步驟 0 / 0
邏輯解釋
C++ Code