GO Solution For UVa 10611 - The Playboy Chimp. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Once upon a time, there lived a chimpanzee called Luchu Bandor (aka Playboy Chimp). Luchu was un- happily married to Bunty Mona, a short but cute little lady chimp. Luchu was tall and handsome — he was feeling uncomfortable taking Bunty to public places along with him. People would stare at them all


You can find the full details of the problem The Playboy Chimp at UVa Online Judge

Sample Input

1 4 5 7
4 6 8 10

Sample Output

1 5
5 7
7 X
7 X

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

Solution originally posted at: Github by @codingsince1985