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..
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..