GO Solution For UVa 10642 - Can You Solve It?. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

First take a look at the following picture. In this picture, each circle has a coordinate according to Cartesian Coordinate System. You can move from one circle to another following the path denoted by forward arrow symbols. To go from a source circle to a destination circle,

total_number_of_step(s

...

You can find the full details of the problem Can You Solve It? at UVa Online Judge

Sample Input

3
0 0 0 1
0 0 1 0
0 0 0 2

Sample Output

Case 1: 1
Case 2: 2
Case 3: 3

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

Solution originally posted at: Github by @codingsince1985