Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: IBM Cloud Challenge.

by Anonymous Monk
on Aug 30, 2015 at 21:58 UTC ( [id://1140471]=note: print w/replies, xml ) Need Help??


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

You can't just subtract the biggest remaining coin. doesn't always give you the best answer.

Replies are listed 'Best First'.
Re^5: IBM Cloud Challenge.
by trippledubs (Deacon) on Aug 31, 2015 at 00:12 UTC

    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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1140471]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-24 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found