In recent Codeforces round #831, I got TLE in the final Test Set (Pretests passed successfully) of Problem B for this submission
I then again submitted this exact same solution but replacing >=
with >
in my cmp
function and it got accepted. Accepted Solution.
I'm unable to understand why I got TLE in my original solution. Please help me with this.
read this -----> https://codeforces.me/blog/entry/70237 <----- read this