版本比较
+1 −1增加 1 行删除 1 行
163 行未改动全部展开164165166167168168169170171172425 行未改动全部展开163 行未改动全部展开struct Point{ //存储每个数对应的点 int a,pos; bool operator < (const Point &p) const { return pos < p.pos; return pos < p.pos; }}p[1000005]; struct NodeT{ //线段树,支持单点加和区间查询425 行未改动全部展开