Help in Segment tree lazy propagation

Правка en1, от _xor, 2022-11-06 08:20:08

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?

Теги cpp, segment tree, lazy propagation

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский _xor 2022-11-06 08:20:08 396 Initial revision (published)