How to use segment tree?
Build tree and query
You can read this aritical to learn some basic operations of segment tree.
# | User | Rating |
---|---|---|
1 | tourist | 3880 |
2 | jiangly | 3669 |
3 | ecnerwala | 3654 |
4 | Benq | 3627 |
5 | orzdevinwang | 3612 |
6 | Geothermal | 3569 |
6 | cnnfls_csy | 3569 |
8 | jqdai0815 | 3532 |
9 | Radewoosh | 3522 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | awoo | 161 |
2 | maomao90 | 160 |
3 | adamant | 156 |
4 | maroonrk | 153 |
5 | -is-this-fft- | 148 |
5 | atcoder_official | 148 |
5 | SecondThread | 148 |
8 | Petr | 147 |
9 | nor | 144 |
9 | TheScrasse | 144 |
A brief introduction of Segment Tree(II):Update and "Lazy tag"
You can read this aritical to learn some basic operations of segment tree.
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en6 |
![]() |
RDFZzzx | 2022-08-02 06:29:52 | 1780 | Tiny change: 'nts.\n\n![](https://' -> 'nts.\n\n![ ](https://' (published) | |
en5 |
![]() |
RDFZzzx | 2022-08-02 05:13:24 | 60 | ||
en4 |
![]() |
RDFZzzx | 2022-08-02 05:10:23 | 443 | ||
en3 |
![]() |
RDFZzzx | 2022-08-02 04:03:38 | 318 | ||
en2 |
![]() |
RDFZzzx | 2022-08-02 03:00:48 | 274 | ||
en1 |
![]() |
RDFZzzx | 2022-08-02 02:56:20 | 313 | Initial revision (saved to drafts) |
Name |
---|