Quantcast
Viewing all articles
Browse latest Browse all 39796

sereja and arcs

I have implemented an 2N^2logN solution for this problem which obviously giving TLE. I just want to know will an O(NlogN) solution is enough for this problem or do I need fast IO too?


Viewing all articles
Browse latest Browse all 39796