Sunday 2 April 2017

Spoj TRVCOST - Travelling cost

Spoj TRVCOST - Travelling cost




Simple Dijkstra implementation.Be sure to make 500 cells(Vertex) because in inputs only edges i.e. roads are given.
Java Solution for this problem is given below.

Labels: ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home