GO Solution For UVa 10210 - Romeo and Juliet !. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

In this problem we will discuss the problems of a modern Romeo and a modern Juliet. You are asked to solve their problems so that they don’t have to be a tragic pair like that of Shakespeare’s. As usual the family of Romeo and Juliet have hostile relationships and so they are locked up in two differ


You can find the full details of the problem Romeo and Juliet ! at UVa Online Judge

Sample Input

10 10 10 20 48 48
10 10 20 20 60 70

Sample Output


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

Solution originally posted at: Github by @codingsince1985