Closest Pairs of Points

Revision en2, by redwanahmed, 2017-05-28 22:05:52

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 ?

Tags #geometry

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English redwanahmed 2017-05-28 22:05:52 22
en1 English redwanahmed 2017-05-28 22:02:46 548 Initial revision (published)