Comments

Yes,though it's a segment tree,but it can't modify the segment easily.If you want to do that,your code will be in a mess.And it's also hard to extend.For example,persistence.

It's just like fenwick tree,less functions but higher speed.

It's hard to "push down" the tag,that's the reason why we usually follow the traditional way.

This way is easy,but the function of it is not powerful,maybe the meaning of the way is just higher speed.

On Shinpi → Who is rainboy?, 6 years ago
+4

He is hard-working,from his submissions.