Skip to content

Commit e4fabcb

Browse files
committed
revert this
1 parent 3f50a5f commit e4fabcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/monotonic_stack/monotonic_stack.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//! a[le[i]] < a[i]
88
//! @time O(n)
99
//! @space O(n)
10-
vi mono_st(const auto& a, auto cmp) {
10+
vi mono_st(const auto& a, const auto& cmp) {
1111
vi l(sz(a));
1212
rep(i, 0, sz(a)) for (l[i] = i - 1;
1313
l[i] >= 0 && !cmp(a[l[i]], a[i]);) l[i] = l[l[i]];

0 commit comments

Comments
 (0)