Problem 3286 · Medium

Find a Safe Walk Through a Grid

Walk from corner to corner, paying one health for each unsafe cell; arrive with at least one health left.

Open the interactive visualisation