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

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

In C++, Currently, I have seen some code that implements segment trees/balanced trees using Pointers.

So, what are the respective advantages of using Pointers and not using them (constants, debugging difficulty, etc.)? I don't quite understand.

Or is there no difference? It's just a matter of personal style.

Some of the responses I have received so far are conflicting, so I came to the CodeForces community for help.

I would like to express our sincere gratitude to all in advance!

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

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