Binary search problem.

Правка en1, от zephyr_23, 2018-05-17 11:45:04

I am trying to solve this binary search problem (https://www.codechef.com/problems/FAKEBS) on codechef.

I am getting on W.A on 3 tasks out of 12 and those are small tasks. I think I am missing some edge cases. Can someone please help ?

Code :- https://ideone.com/VnwXtb

Thanks.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский zephyr_23 2018-05-17 11:46:06 3 Tiny change: 'm getting on W.A on 3 ' -> 'm getting W.A on 3 '
en1 Английский zephyr_23 2018-05-17 11:45:04 308 Initial revision (published)