GO Solution For UVa 10048 - Audiophobia. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Consider yourself lucky! Consider yourself lucky to be still breathing and having fun participating in this contest. But we apprehend that many of your descendants may not have this luxury. For, as you know, we are the dwellers of one of the most polluted cities on earth. Pollution is everywhere, bo

...

You can find the full details of the problem Audiophobia at UVa Online Judge

Sample Input

7 9 3
1 2 50
1 3 60
2 4 120
2 5 90
3 6 50
4 6 80
4 7 70
5 7 40
6 7 140
1 7
2 6
6 2
7 6 3
1 2 50
1 3 60
2 4 120
3 6 50
4 6 80
5 7 40
7 5
1 7
2 4
0 0 0

Sample Output

Case #1
80
60
60

Case #2
40
no path
80

Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985