摘要:
线段树 1.线段树的建树 build函数: build(u, l, r):u表示当前节点编号,l、r分别是该节点所代表区间的左右端点[l, r]. struct SegmentTree{ int l, r; int dat; }t[SIZE * 4]; void build(int u, int L 阅读全文
posted @ 2021-09-28 00:32
zhanghanLeo
阅读(47)
评论(0)
推荐(0)
浙公网安备 33010602011771号