Skip to content

Commit 9717342

Browse files
committed
more golf
1 parent 780363b commit 9717342

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/data_structures/uncommon/linear_rmq.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ template<class T, class F> struct linear_rmq {
2525
(i == n || !cmp(a[st.back()], a[i]))) {
2626
head[prev] = st.back();
2727
auto k = end(st)[-2] + 1u, b = bit_floor(k ^ i);
28-
in[st.back()] = prev = i & -b;
29-
asc[k] |= b;
28+
in[st.back()] = prev = i & -b, asc[k] |= b;
3029
st.pop_back();
3130
}
3231
st.push_back(head[prev] = i);

0 commit comments

Comments
 (0)