simp_pro's blog

By simp_pro, history, 20 months ago, In English

By range assignment, I mean setting all values in a range to x

I have been looking for this template but could not find anywhere. The best I have got is when updates is not decreasing the value.

I also tried modifying the lazy segment tree but could not get desired result

Can you share your template

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

| Write comment?