TLE on testcase 9 in Road to cinema.

Revision en1, by alpeshvas, 2016-11-22 14:48:34

I am trying to figure out why its giving TLE in testcase 9 from the day contest ends. It was TLE that time also. After contest ended I have looked at other's solutions as well to editorials. My solution is using same binary search approach. Can anyone tells whats wrong in code why its giving TLE in testcase 9. Solution link. http://codeforces.net/contest/738/submission/22360223

Thanks in Advance. gandu007

Tags round 380, tle, bs

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English alpeshvas 2016-11-22 14:48:34 451 Initial revision (published)