We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 518c55d commit 5cfaebcCopy full SHA for 5cfaebc
library/trees/linear_lca.hpp
@@ -6,7 +6,7 @@
6
//! @endcode
7
//! @time O(n + q)
8
//! @space O(n)
9
-int lsb(int x) { return x & -x; }
+#define lsb(x) (x & -x)
10
struct linear_lca {
11
int n;
12
vi d, in, asc, head;
0 commit comments