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

Problem Description

There is a SuperSale in a SuperHiperMarket. Every person can take only one object of each kind, i.e. one TV, one carrot, but for extra low price. We are going with a whole family to that SuperHiperMarket. Every person can take as many objects, as he/she can carry out from the SuperSale. We have give

...

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

Sample Input

2
3
72 17
44 23
31 24
1
26
6
64 26
85 22
52 4
99 18
39 13
54 9
4
23
20
20
26

Sample Output

72
514

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

Solution originally posted at: Github by @codingsince1985