Will my O(NlogN) solution pass the time limits?

I am a newbie on Codechef, so I need a little guidance :slight_smile: . I have found a O(NlogN) solution to a problem on

Codechef where N=10^6 , and time-limit:-2(seconds) .

Will my solution pass the time limit? :slight_smile:

Thanks!:slight_smile:

It should. As long as the product approximately is less than 5*10^8, it should pass. Please note we are ignoring any hidden constants here.

//