Weight of the System of Nested Segments

Problem Name:
Weight of the System of Nested Segments
Site:CodeForces
Links:
Tags:
Problem setters: