summaryrefslogtreecommitdiff
path: root/content/graph/hld.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'content/graph/hld.cpp')
-rw-r--r--content/graph/hld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/graph/hld.cpp b/content/graph/hld.cpp
index 65d3f5c..e365b13 100644
--- a/content/graph/hld.cpp
+++ b/content/graph/hld.cpp
@@ -21,7 +21,7 @@ void dfs_hld(int v = 0, int from = -1) {
}
void init(int root = 0) {
- int n = sz(adj);
+ int n = ssize(adj);
sz.assign(n, 1), nxt.assign(n, root), par.assign(n, -1);
in.resize(n), out.resize(n);
counter = 0;