摘要: # 线段树 ```c++ struct Node{ int l, r, sum, lazy; }tr[N * 4]; int a[N]; void pushup(int u) { tr[u].sum = tr[u > 1; pushdown(u); build(u = l && tr[u].r > 阅读全文
posted @ 2023-08-24 10:14 north_h 阅读(16) 评论(0) 推荐(0)