From 366ff0a4ba0c94f5cdc2cbd4e2c991ad0b544522 Mon Sep 17 00:00:00 2001 From: Yidi Date: Thu, 27 Jun 2024 08:55:57 +0200 Subject: fix --- datastructures/lazyPropagation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastructures/lazyPropagation.cpp b/datastructures/lazyPropagation.cpp index 7811220..0fe7bbe 100644 --- a/datastructures/lazyPropagation.cpp +++ b/datastructures/lazyPropagation.cpp @@ -65,7 +65,7 @@ struct SegTree { ll lower_bound(int l, int r, T x) { l += n, r += n; push(l), push(r - 1); - int a[32] = {}, lp = 0, rp = 32; + int a[64] = {}, lp = 0, rp = 64; for (; l < r; l /= 2, r /= 2) { if (l&1) a[lp++] = l++; if (r&1) a[--rp] = --r; -- cgit v1.2.3