GO Solution For UVa 10550 - Combination Lock. 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 Combination Lock at UVa Online Judge

Sample Input

0 30 0 30
5 35 5 35
0 20 0 20
7 27 7 27
0 10 0 10
9 19 9 19
0 0 0 0

Sample Output

1350
1350
1620
1620
1890
1890

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

Solution originally posted at: Github by @codingsince1985