GO Solution For UVa 10219 - Find the ways !. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

An American, a Frenchman and an Englishwoman had been to Dhaka, the capital of Bangladesh. They went sight-seeing in a taxi. The three tourists were talking about the sites in the city. The American was very proud of tall buildings in New York. He boasted to his friends, “Do you know that the Empire


You can find the full details of the problem Find the ways ! at UVa Online Judge

Sample Input

20 5
100 10
200 15

Sample Output


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

Solution originally posted at: Github by @codingsince1985