Why am i getting TLE in it?

Revision en1, by cyber_rajat, 2018-12-28 20:55:50

Hello, This is my solution https://mirror.codeforces.com/contest/1095/submission/47570529 to problem https://mirror.codeforces.com/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?

Tags #tle

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English cyber_rajat 2018-12-28 20:55:50 290 TLE problem (published)