Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

cyber_rajat's blog

By cyber_rajat, history, 8 years ago, In English

Hello, This is my solution https://codeforces.me/contest/1095/submission/47570529 to problem https://codeforces.me/contest/1095/problem/D . My solution is O(n) and n is of order 2*10^5,still i am getting a TLE ,can someone tell me why am i getting TLE in it?

  • Vote: I like it
  • -1
  • Vote: I do not like it

»
8 years ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

check your array size.