find the safest road

HDU - 1596