in reply to Re: IBM Cloud Challenge.
in thread IBM Cloud Challenge.

I think you were right first time:

The line begins with a comma-separated list of coin denominations available (in pence), followed by a colon, followed by the amount of money (in pence) that needs to be served to the customer.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

Replies are listed 'Best First'.
Re^3: IBM Cloud Challenge.
by trippledubs (Deacon) on Aug 30, 2015 at 21:26 UTC
    that makes cents
      You can't just subtract the biggest remaining coin. doesn't always give you the best answer.

        ahh thank you for pointing that out. So with the input 15,11,5,2:22 you should only get two 11's, not a 15+5+2 as it is less coins. Okay try 2