摘要: 一种新的线段树 \(pushup\) 方法: friend node operator + (const node &xx,const node &yy) { node z; z.cnt=xx.cnt+yy.cnt; z.sum=xx.sum+yy.sum; return z; } 然后改的时候就直 阅读全文
posted @ 2024-02-28 18:09 ccjjxx 阅读(27) 评论(2) 推荐(0) 编辑