From 1880ccb6d85c6eb79e724593457877bab431951c Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Sat, 16 Nov 2024 21:17:29 +0100 Subject: get rid of all() and sz() --- content/datastructures/sparseTableDisjoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/datastructures/sparseTableDisjoint.cpp') diff --git a/content/datastructures/sparseTableDisjoint.cpp b/content/datastructures/sparseTableDisjoint.cpp index 39c7caa..bcf6b2e 100644 --- a/content/datastructures/sparseTableDisjoint.cpp +++ b/content/datastructures/sparseTableDisjoint.cpp @@ -8,7 +8,7 @@ struct DisjointST { } void init(vector &vec) { - int n = sz(vec); + int n = ssize(vec); a = vec.data(); dst.assign(__lg(n) + 1, vector(n + 1, neutral)); for (int h = 0, l = 1; l <= n; h++, l *= 2) { -- cgit v1.2.3