Skip to content

Commit

Permalink
Fix English version of lazysegtree doc
Browse files Browse the repository at this point in the history
Compared to the Japanese version, two emojis (💻) are missing, and extra spaces are shown. This commit fixes this issue.
  • Loading branch information
lucifer1004 authored Jan 7, 2025
1 parent fe9b6fc commit c70d3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions document_en/lazysegtree.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ It returns `op(a[0], ..., a[n - 1])`, assuming the properties of the monoid. It

```cpp
(1) int seg.max_right<g>(int l)
(2 ) int seg.max_right<G>(int l, G g)
(2💻) int seg.max_right<G>(int l, G g)
```

- (1): It applies a binary search on the segment tree. The function `bool g(S x)` should be defined.
Expand All @@ -153,7 +153,7 @@ If `g` is monotone, this is the maximum `r` that satisfies `g(op(a[l], a[l + 1],

```cpp
(1) int seg.min_left<g>(int r)
(2 ) int seg.min_left<G>(int r, G g)
(2💻) int seg.min_left<G>(int r, G g)
```

- (1): It applies a binary search on the segment tree. The function `bool g(S x)` should be defined.
Expand Down

0 comments on commit c70d3c5

Please sign in to comment.