PaneerMakhani's blog

By PaneerMakhani, history, 4 days ago, In English

Hello Codeforces, I participated in contest and i wrote a solution which seems like O(nlogn) to me but I still got TLE despite of constraints for N being 10^6. Can anyone Help me figure out why I got TLE and how can I fix it. Submission Link :

Submission

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it