This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#include<iostream>
usingnamespacestd;
constintN=1000010;
typedeflonglongLL;
intn,m;// n个元素,m次操作
inta[N];//原始数组
LLtr1[N],tr2[N];//① 保存基底数组为原数组差分数组的树状数组 ② i*b[i]的前缀和数组