HDU1166敌兵布阵(树状数组-单点更新+区间查询)
传送门#include<bits/stdc++.h>using namespace std;#define pi acos(-1)#define mod 998244353#define INF 0x3f3f3f#define fi first#define se second#define it iterator#define ins insert#define mp make_pair#define pb push_back#define ll long long