Skip to content

Commit 5cfaebc

Browse files
committed
define instead of function to be less typing
1 parent 518c55d commit 5cfaebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/trees/linear_lca.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//! @endcode
77
//! @time O(n + q)
88
//! @space O(n)
9-
int lsb(int x) { return x & -x; }
9+
#define lsb(x) (x & -x)
1010
struct linear_lca {
1111
int n;
1212
vi d, in, asc, head;

0 commit comments

Comments
 (0)