From 78477666f0093e5f02732a4170f691ba929f017e Mon Sep 17 00:00:00 2001 From: Noobie99 Date: Tue, 30 Jan 2024 21:12:57 +0100 Subject: fix sparseTable --- datastructures/sparseTable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastructures/sparseTable.cpp b/datastructures/sparseTable.cpp index 7578695..63cce48 100644 --- a/datastructures/sparseTable.cpp +++ b/datastructures/sparseTable.cpp @@ -1,6 +1,6 @@ struct SparseTable { vector> st; - vector *a; + ll *a; int better(int lidx, int ridx) { return a[lidx] <= a[ridx] ? lidx : ridx; -- cgit v1.2.3