GO Solution For UVa 10596 - Morning Walk. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Kamal is a Motashota guy. He has got a new job in Chittagong. So, he has moved to Chittagong from Dinajpur. He was getting fatter in Dinajpur as he had no work in his hand there. So, moving to Chittagong has turned to be a blessing for him. Every morning he takes a walk through the hilly roads of ch


You can find the full details of the problem Morning Walk at UVa Online Judge

Sample Input

2 2
0 1
1 0
2 1
0 1

Sample Output

Not Possible

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

Solution originally posted at: Github by @codingsince1985