区间树
https://en.wikipedia.org/wiki/Segment_tree
http://www.cnblogs.com/tanky_woo/archive/2010/09/25/1834523.html