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