div4only's blog

By div4only, history, 22 months 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

»
22 months 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

»
22 months 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