← All problems
Medium · Graphs

Rotting Oranges

Determine the time for rot to reach every fresh orange or report impossibility.

Full problem and submission ↗
main.js

Console

Ready