Require Help in Binary Search ( Problem C :-Fly)[Codeforces Round 499]

Правка en1, от sameer_hack, 2018-07-27 23:57:10

I tried to solve this question using Binary Search. And I am not able to understand why one of my solutions is giving me the wrong answer while other got accepted.
Problem Link
Submission 1 (Wrong)
Submission 2 (Accepted)
Submission 3 (Accepted)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский sameer_hack 2018-07-27 23:57:10 578 Initial revision (published)