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

Problem Description

If three or more consecutive primes are uni-distance they are called Determinate Primes. Your task is to print all the Determinate Prime sets between two integers (inclusive).

Input The input is consist of several test cases. Each test case consists of two non negative integers x and y. None of the

...

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

Sample Input

1 100
2 8
0 0

Sample Output

3 5 7
47 53 59
3 5 7

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

Solution originally posted at: Github by @codingsince1985