div4only's blog

By div4only, history, 21 month(s) ago, In English

Here is my code: 194975604. I think my solution is $$$O(s_n logn)$$$ but it gets TLE on pretest 5.

  • Vote: I like it
  • +4
  • Vote: I do not like it

»
21 month(s) ago, # |
  Vote: I like it +1 Vote: I do not like it

I had the same problem too, you should optimize the idea of your code

»
21 month(s) ago, # |
  Vote: I like it 0 Vote: I do not like it

u know operation of module isnt always O(1) it can be slow