注意横纵坐标全部需要加1,因为树状数组从(1,1)开始 1#include<cstdio>2#include<cstring>3#include<iostream>4#include<algorithm>5#include<string>6#include<cmath>7#include<set>8#include<queue>9#include10#include<stack>11#include<vector>12#include<list>13#include<deque>14#include<sstream>15#includ...