heisenberg_5's blog

By heisenberg_5, history, 11 months ago, In English

I was doing ITMO pilot course segment tree problems. In the problem LINK TO QUESTION, I am getting wrong answer on test number 72. Kindly help me out to resolve the issue.

Code

Thanks in advance. :)

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

»
11 months ago, # |
  Vote: I like it +6 Vote: I do not like it

prefix sum, suffix sum and max sum should be long long since it can exceed integer limit