getting WA on a simple coin change problem!!! pls help me :( :( :(

Revision en1, by mahim007, 2015-08-28 00:15:44

I tried a lots of I/O.and my program makes correct ans.but still WA.pls help me to find the bug.

problem link=>uva-10313 — Pay the Price

my code=>codepad

any critical I/O,suggestions,tips would be greatly appreciated.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English mahim007 2015-08-28 00:15:44 445 Initial revision (published)