Sorting 2x10^5 entries
This is my submission to the problem 557B.
The only computation intensive thing I do is sort an array which can have atmost 10^5 entries. This is supposed to take < 1s. But I get TLE error if the array size is 10^5. Why does this happen?
Codeforces Round 946 Solution Discussion