摘要: 离散化,线段树 #include using namespace std; const int N = 1e5 + 7; int a[N], tree[N > 1; if(x > 1; if(tree[i = m) return query(m, i << 1, l, mid); else retu 阅读全文
posted @ 2022-11-15 14:50 feuerwerk 阅读(24) 评论(0) 推荐(0)