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

Автор MrDepomposition, история, 4 года назад, По-английски

hello i am writing this blog because i asked a question but havent got asnwer for it, please explain me why do we need to use segment tree to calculate sums, why cant we just use c++ operator + (read more about this operator here — https://www.w3schools.com/cpp/cpp_operators.asp)

Полный текст и комментарии »

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

Автор MrDepomposition, история, 4 года назад, По-русски

hello pleasy dont downvote me, it is my fourth blog, today i want to talk about segment tree
why are we using segment trees for calculating sums, when we can use operator + ? please dont laugh at me i am newbie help

Полный текст и комментарии »

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