Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

Why TLE?

Revision en1, by vermish77, 2024-07-19 15:28:55

I think my solution has a time complexity of O(nlogn) as I am doing binary search on answer but it still gives TLE, why is it giving TLE . This is the problem link:- https://codeforces.com/contest/126/problem/B

This is my solution:- https://codeforces.com/contest/126/submission/271378723

Please help in this

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English vermish77 2024-07-19 15:28:55 323 Initial revision (published)