Brackets(bestcoder)

 

Brakerts

 

每次询问一个区间都根据最开始的线段树在询问的区间重建一棵线段树

 

view code

posted @ 2015-05-05 23:39  ForeverEnjoy  阅读(403)  评论(0编辑  收藏  举报