Is it possible to create vector of segment trees. There are two kind of requirements. [C++]

Правка en1, от Boring_Day, 2023-04-09 06:37:38

If it is possible to create a vector of class then it should not be an issue to create vector of classes in c++.

Can you help me in these two things.

1st) when the size of segment tree at each index is same.

2nd) when the sizes at different indices are different.

Even if you help me solve the 1st thing i will be thankful to you.

Теги help, implementation

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский Boring_Day 2023-04-09 06:46:45 15 Tiny change: 'vector of classes in c++. \' -> 'vector of segment tree in c++. \'
en1 Английский Boring_Day 2023-04-09 06:37:38 435 Initial revision (published)