Closest Pairs of Points

Правка en1, от redwanahmed, 2017-05-28 22:02:46

I have no idea why my code is getting TLE for this 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 ?

Теги #geometry

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский redwanahmed 2017-05-28 22:05:52 22
en1 Английский redwanahmed 2017-05-28 22:02:46 548 Initial revision (published)