GO Solution For UVa 10474 - Where is the Marble?. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

You can find the full details of the problem Where is the Marble? at UVa Online Judge

Sample Input

4 7
2
3
5
1
0
1
2
3
4
5
6
5 5
1
3
3
3
1
0
1
2
3
4
0 0

Sample Output

CASE# 1:
0 not found
1 found at 1
2 found at 2
3 found at 3
4 not found
5 found at 4
6 not found
CASE# 2:
0 not found
1 found at 1
2 not found
3 found at 3
4 not found

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

Solution originally posted at: Github by @codingsince1985