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

that makes cents

Replies are listed 'Best First'.
Re^4: IBM Cloud Challenge.
by Anonymous Monk on Aug 30, 2015 at 21:58 UTC
    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