TLE in ACM14KN4

Although my code is O(MlogN), still I am getting TLE :confused: , Can I get all the Test Cases to check the efficiency of my code?. CodeChef: Practical coding for everyone

Thank You