summaryrefslogtreecommitdiff
path: root/graph/LCA_sparse.cpp
diff options
context:
space:
mode:
authorMZuenni <michi.zuendorf@gmail.com>2022-11-30 12:43:36 +0100
committerMZuenni <michi.zuendorf@gmail.com>2022-11-30 12:43:36 +0100
commit702469ce6f966270997bfe43a9fb9881df2c0ff0 (patch)
treea7bc8db9fccdec27348515bd3128e51606f85e31 /graph/LCA_sparse.cpp
parent03788f48be2634c36cd19ba25b0a851685b9c877 (diff)
parent40f598b33ac8b60774bed5c12fb89fe4e5d586c1 (diff)
Merge branch 'new-master' of github.com:mzuenni/ContestReference into new-master
Diffstat (limited to 'graph/LCA_sparse.cpp')
-rw-r--r--graph/LCA_sparse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graph/LCA_sparse.cpp b/graph/LCA_sparse.cpp
index 2a38528..a56dafa 100644
--- a/graph/LCA_sparse.cpp
+++ b/graph/LCA_sparse.cpp
@@ -28,5 +28,5 @@ struct LCA {
return visited[st.queryIdempotent(first[a], first[b] + 1)];
}
- ll getDepth(int a) {eturn depth[first[a]];}
+ ll getDepth(int a) {return depth[first[a]];}
};