Bellman-Ford's Algorithm for Shortest Path Directed Graph. Infoarena
https://www.infoarena.ro/problema/bellmanford