alpeshvas's blog

By alpeshvas, history, 7 years ago, In English

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.com/contest/738/submission/22360223

Thanks in Advance. gandu007

  • Vote: I like it
  • -1
  • Vote: I do not like it

»
7 years ago, # |
  Vote: I like it +6 Vote: I do not like it

Your solution is right)

http://codeforces.com/contest/738/submission/22402437

I only added ios_base and it got 'Accepted' :DDDD

  • »
    »
    7 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it

    Oh fuck man. seriously..! That little ios_base cost me 1500 points. Thanks. by the way. Can you please tell me why is that so important. ios_base, what it actually do. ?