Cant figure out reason for TLE.

Revision en1, by Codeforcer, 2021-02-23 07:20:28

I cant figure out reason for TLE, code seems to be O(n) with some small constants, any help would be appreciated.

Problem Link : https://codeforces.com/contest/1251/problem/C

Code

Thanks!

Tags tle, debug, c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Codeforcer 2021-02-23 07:20:28 2544 Initial revision (published)