Skip to content

Commit 4d6a02b

Browse files
committed
nit
1 parent e41d2e3 commit 4d6a02b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/data_structures/uncommon/linear_rmq.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ template<class T, class F> struct linear_rmq {
1515
int n;
1616
vector<T> a;
1717
F cmp;
18-
vi asc, in, head;
18+
vi in, asc, head;
1919
linear_rmq(const vector<T>& a, F cmp):
20-
n(sz(a)), a(a), cmp(cmp), asc(n), in(n), head(n + 1) {
20+
n(sz(a)), a(a), cmp(cmp), in(n), asc(n), head(n + 1) {
2121
vi st{-1};
2222
rep(i, 0, n + 1) {
2323
int prev = 0;

0 commit comments

Comments
 (0)