~树。
结点的定义
struct node { int l,r; mutable LL v; node(int L, int R=-1, LL V=0):l(L), r(R), v(V) {}//构造函数 bool operator<(const node& o) const { return l < o.l; } };
那个构造函数有什么用?