Hey guys these are two submissions with same code just a single difference in compare function , can anybody tell me why one is giving TLE and other not ??
TLE — https://codeforces.net/contest/1535/submission/118378801
AC — https://codeforces.net/contest/1535/submission/118474020