Rosetta Problems

Single Source Shortest Path II

https://onlinejudge.u-aizu.ac.jp/problems/ALDS1_12_C