POJ1551 Another Solution

Algorithm:
1. Dijkstra + Heap