time limit exceeded
Разница между en1 и en2, 45 символ(ов) изменены
Getting TLE on test case 8 for [this problem](https://codeforces.com/problemset/problem/1295/C). I read the editorial which had O(n) complexity. [My soln](http://https://codeforces.com/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)?↵

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский AbhishekAg 2020-06-28 12:35:51 45
en1 Английский AbhishekAg 2020-06-28 11:48:03 343 Initial revision (published)