Binary search yet TLE!

Revision en1, by n_k101, 2022-11-17 00:08:12

After using Binary search in Problem C(Round 1574) I am getting TLE I don't know where it is getting out of bounds, please help

code link- https://codeforces.net/contest/1574/submission/181236065

Tags c++, contest, practice, binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English n_k101 2022-11-17 00:08:12 225 Initial revision (published)