随笔分类 - 线段树
摘要:During tea-drinking, princess, amongst other things, asked why has such a good-natured and cute Dragon imprisoned Lpl in the Castle? Dragon smiled eni
阅读全文
摘要:///支持查询和区间的单值修改 #include using namespace std; const int N=1e6+10; int n,a[N],m; int sumv[N>1; build(o>1; if(q>1; if(qlmid)ans+=querysum(o using namespace std; const int N=1e6+10; int n,a...
阅读全文

浙公网安备 33010602011771号