Can anyone explain why i am getting TLE in this problem?

Правка en1, от idonthatephy, 2022-02-19 14:03:17

1426C - Increase and Copy this is the problem and below is the link to my code- https://codeforces.com/problemset/submission/1426/146922562 can anyone explain why I am getting TLE in test case 3? is it because of the timecomplexity O(sqrt(n)logn) or something else?

Теги problem, help

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский idonthatephy 2022-02-19 14:03:17 319 Initial revision (published)