正文
增加 2 行删除 2 行
36 行未改动3738394041424344454631 行未改动36 行未改动}}; // 离散化模板struct Node {int a, b;inline bool operator<(const Node &x) const {return a < x.a;}} d[N];inline void add(int x) {for (; x < 2 * N; x += lowbit(x)) c[x]++;31 行未改动36 行未改动3738394041424344454631 行未改动36 行未改动}}; // 离散化模板struct Node {int a, b;inline bool operator<(const Node &x) const {return a < x.a;}} d[N];inline void add(int x) {for (; x < 2 * N; x += lowbit(x)) c[x]++;31 行未改动