This is my short solution unfortunately I am getting a TLE. I tried to calculate and I am doing https://codeforces.com/contest/1379/submission/146460768
Help: Small code, getting TLE in nlogn
This is my short solution unfortunately I am getting a TLE. I tried to calculate and I am doing https://codeforces.com/contest/1379/submission/146460768