flat_segment_tree
0
500
0
0
500
0
10
20
10
50
70
0
15
0
0
500
0
10
20
10
50
70
0
15
0
15
60
65
5