Need help for a greedy problem :(

Правка en3, от Ashik53, 2016-06-18 11:22:21

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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский Ashik53 2016-06-18 11:22:21 7
en2 Английский Ashik53 2016-06-18 10:30:50 4
en1 Английский Ashik53 2016-06-18 10:30:15 346 Initial revision (published)