Loading repovive.com/problems/classics/15
Given a weighted directed graph with vertices and edges, find the shortest distance from vertex to all other vertices.
Edge weights can be negative. If a vertex is unreachable, output INF. If a vertex is affected by a negative cycle (distance can be ), output -INF.