Getting TLE, short code need help Thanks a lot

Правка en1, от cschill, 2022-02-03 18:36:44

Hello Guys, Please help me, I am getting TLE but the complexity of my program is around O(n*logn + n + n + n + T) where n and t both are 5e6. The time limit is 3 sec. I think it should work. Please help. https://mirror.codeforces.com/contest/546/submission/145049261

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский cschill 2022-02-03 18:36:44 314 Initial revision (published)