[problem:100513C] is mentioned as a problem that can be solved using Segment Tree with vectors in [Algorithm Gym :: Everything About Segment Trees](https://codeforces.me/blog/entry/15890) by [user:DarthKnight,2019-06-12].↵
↵
Although [this](https://codeforces.me/blog/entry/63970) post gives a hint about how to solve the problem, I am unable to understand how to solve using the Segment tree. Can anyone give some hints?↵
↵
Thanks :)
↵
Although [this](https://codeforces.me/blog/entry/63970) post gives a hint about how to solve the problem, I am unable to understand how to solve using the Segment tree. Can anyone give some hints?↵
↵
Thanks :)