Rosetta Problems

Single Source Shortest Path I

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