_xor's blog

By _xor, history, 17 months ago, In English

I am finding it difficult to solve this problem based on segment tree range update using lazy propagation, from CSES problem set. Specifically, I am not able to calculate the answer to the second part of this problem which states that what is the value at position k?

Can anyone please help me in lazy propagation?

Full text and comments »

  • Vote: I like it
  • -10
  • Vote: I do not like it