10

Is it possible to create vector of segment trees. There are two kind of requirem...

 2 years ago
source link: https://codeforces.com/blog/entry/114895
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

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

If it is possible to create a vector of class then it should not be an issue to create vector of segment tree 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.

</div


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK