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

Problem Description

When government, military, or commercial agencies wish to make a major purchase, they first issue a Request for Proposal (RFP) which lists a number of requirements that must be met by a successful proposal. Competing suppliers issue Proposals, indicating which of the requirements are met, and a pric

...

You can find the full details of the problem Request for Proposal at UVa Online Judge

Sample Input

6 4
engine
brakes
tires
ashtray
vinyl roof
trip computer
Chevrolet
20000.00 3
engine
tires
brakes
Cadillac
70000.00 4
ashtray
vinyl roof
trip computer
engine
Hyundai
10000.00 3
engine
tires
ashtray
Lada
6000.00 1
tires
1 1
coffee
Starbucks
1.50 1
coffee
0 0

Sample Output

RFP #1
Cadillac

RFP #2
Starbucks

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

Solution originally posted at: Github by @codingsince1985