Problem 789 · Medium
You escape only if you reach the target strictly before every ghost could (Manhattan distances).
Open the interactive visualisation