Блог пользователя alpeshvas

Автор alpeshvas, история, 8 лет назад, По-английски

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

Thanks in Advance. gandu007

  • Проголосовать: нравится
  • -1
  • Проголосовать: не нравится

»
8 лет назад, # |
  Проголосовать: нравится +6 Проголосовать: не нравится

Your solution is right)

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

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