@@ -137,12 +137,12 @@ It returns an index `r` that satisfies both of the followings.
137
137
- ` r = l ` or ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true `
138
138
- ` r = n ` or ` g(op(a[l], a[l + 1], ..., a[r])) = false `
139
139
140
- If ` f ` is monotone, this is the maximum ` r ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
140
+ If ` g ` is monotone, this is the maximum ` r ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
141
141
142
142
** @{keyword.constraints}**
143
143
144
- - if ` f ` is called with the same argument, it returns the same value, i.e., ` f ` has no side effect.
145
- - ` f(e_s ()) = true`
144
+ - if ` g ` is called with the same argument, it returns the same value, i.e., ` g ` has no side effect.
145
+ - ` g(e ()) = true`
146
146
- $0 \leq l \leq n$
147
147
148
148
** @{keyword.complexity}**
@@ -164,12 +164,12 @@ It returns an index `l` that satisfies both of the following.
164
164
- ` l = r ` or ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true `
165
165
- ` l = 0 ` or ` g(op(a[l - 1], a[l], ..., a[r - 1])) = false `
166
166
167
- If ` f ` is monotone, this is the minimum ` l ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
167
+ If ` g ` is monotone, this is the minimum ` l ` that satisfies ` g(op(a[l], a[l + 1], ..., a[r - 1])) = true ` .
168
168
169
169
** @{keyword.constraints}**
170
170
171
- - if ` f ` is called with the same argument, it returns the same value, i.e., ` f ` has no side effect.
172
- - ` f(e_s ()) = true`
171
+ - if ` g ` is called with the same argument, it returns the same value, i.e., ` g ` has no side effect.
172
+ - ` g(e ()) = true`
173
173
- $0 \leq r \leq n$
174
174
175
175
** @{keyword.complexity}**
0 commit comments