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

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

I have no idea why my code isgetting TLE forthis problem.

I have just implemented closest pair of points o(n logn logn ) approach. And the problem is for the cases like 10^5 inputs having value 10^4 each term is getting TLE. I am sure the complexity is working perfectly but not understanding the problem for this getting TLE verdict even when 10^5 inputs with having smaller input in each term works well. Can anyone suggest ?

Полный текст и комментарии »

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