introart's blog

By introart, history, 23 months ago, In English

I am getting TLE in this CSES problem.

My Approach
Problem

Can anyone please tell me why it is showing TLE?

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
23 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Your approach is correct, maybe the problem is your implementation, Can you share it?

»
23 months ago, # |
  Vote: I like it 0 Vote: I do not like it

KrisjanisP Can you please help?