Solution to 100513C - Component Tree using Segment Tree
Difference between en1 and en2, changed 2 character(s)
[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.com/blog/entry/15890)  by [user:DarthKnight,2019-06-12].↵

Although [this](https://codeforces.com/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 :)

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English svaderia 2019-06-13 10:48:31 2
en1 English svaderia 2019-06-12 00:38:24 492 Initial revision (published)