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

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

I have been trying to flatten the tree using euler tour and then making a segment tree on the value array for point update and range query . I cant seem to understand the logical error i am doing . Please someone guide.

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