Add solution for POJ 2253 Frogger
Shortest Path

The difference :
if d[j] > Max(d[i], dist[i][j]) then
    d[j] = Max(d[i], dist[i][j])
end