Loading repovive.com/problems/classics/16
Given a weighted directed graph with vertices and edges, find the shortest distance between every pair of vertices.
Edge weights are non-negative. If there is no path from vertex to vertex , the distance is .