Help with Binary Search Problem. 537 Div 2 C

Правка en1, от dakshgautam1, 2019-02-10 03:38:52

I attempted problem C Contest 537 Div 2. I implemented a modified binary search which seems to cover all the edge cases as well. I don't why I get a time limit exceeded on Testcase 5.

It would be great if someone could look at my code and help me out.

My code is 49673257 .

Any kind of help would be deeply appreciated.

Теги #binary search, #help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский dakshgautam1 2019-02-10 03:38:52 484 Initial revision (published)