time limit exceeded
Difference between en1 and en2, changed 45 character(s)
Getting TLE on test case 8 for [this problem](https://codeforces.net/problemset/problem/1295/C). I read the editorial which had O(n) complexity. [My soln](http://https://codeforces.net/problemset/status?friends=oncontest/1295/submission/85271178) has a complexity of O(n *log n) but as n has an upper bound of 2e5 it should pass right (if it is correct)?↵

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English AbhishekAg 2020-06-28 12:35:51 45
en1 English AbhishekAg 2020-06-28 11:48:03 343 Initial revision (published)