[Community puzzle] Elevator

cost me 30m to find a corner case for my enumeration algo, finally end with bfs bug free in 5m geez