100mil's blog

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

I was solving this questions:https://codeforces.com/contest/1334/problem/C My solution:https://codeforces.com/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?
»
2 years ago, # |
  Vote: I like it +1 Vote: I do not like it

Fast IO.