[树状数组] 区间查询区间求和 洛谷P3372
题目 题目链接:https://www.luogu.com.cn/problem/P3372 代码 # include <cstdio> # include <cstring> # include <cmath> # include <cstdlib> # include <cctype> # include <ctime> # include <iostream> # include <string> # include <map> # include <queue> # include <stack> # include <set> # include <vector> # include <iomanip> # include <list> # include <bitset> # include <sstream> # include <fstream> # include <complex> # include <algorithm> # if __cplusplus >= 201103L # include <unordered_map> # include <unordered_set> # endif # define ll long long # define lowbit(x) (-x)&x # define int long long using