lightoj problem 1043

Revision en1, by naruto09, 2016-06-25 15:47:31

problem link : http://lightoj.com/volume_showproblem.php?problem=1043 my code : http://ideone.com/03shti I was trying to solve this problem using binary search but i keep getting wrong answer.Can anyone please help me finding the bug..

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English naruto09 2016-06-25 15:47:31 257 Initial revision (published)