Binary Search way to do this problem

Revision en1, by Virtual_Contestant, 2020-07-06 15:50:44

I have solved this problem but I wonder how to do this using binary search i do have one idea but i am a bit lazy to implement that because i also think that might TLE. Can you guys please help me in this.


  Rev. Lang. By When Δ Comment
en1 English Virtual_Contestant 2020-07-06 15:50:44 290 Initial revision (published)