Help for a greedy problem :(

Revision en2, by Ashik53, 2016-06-18 10:30:50

I tried with more than 100 inputs and my program gave right output...Yet I can not find any bug :) PLease give me some critical cases :( ... My code will look horrible ..sorry for that :(

my code — http://pastebin.com/cXfF9nXA

problem link — http://www.lightoj.com/volume_showproblem.php?problem=1396

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Ashik53 2016-06-18 11:22:21 7
en2 English Ashik53 2016-06-18 10:30:50 4
en1 English Ashik53 2016-06-18 10:30:15 346 Initial revision (published)