Please read the new rule regarding the restriction on the use of AI tools. ×

100mil's blog

By 100mil, history, 3 years ago, In English

I was solving this questions:https://codeforces.net/contest/1334/problem/C My solution:https://codeforces.net/contest/1334/submission/141932259

Could someone tell me why is this exceeding the time limit even though it is a O(n) solution?

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

| Write comment?
»
3 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Fast IO.