Блог пользователя simp_pro

Автор simp_pro, история, 19 месяцев назад, По-английски

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

  • Проголосовать: нравится
  • -29
  • Проголосовать: не нравится