Polyn0mial's blog

By Polyn0mial, history, 17 months ago, In English

I've been trying to solve this problem with wavelet tree, and optimize by discrete the values from $$$[-10^9, 10^9]$$$ to $$$[0, N - 1]$$$. I keep getting runtime error.

Code
  • Vote: I like it
  • +1
  • Vote: I do not like it