标签:acm bzoj
N<=100000 M<=50000
bzoj3295(线段树套平衡树(treap))
原文地址:http://blog.csdn.net/cq_phqg/article/details/39009271