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 | jiangly | 3898 |
2 | tourist | 3840 |
3 | orzdevinwang | 3706 |
4 | ksun48 | 3691 |
5 | jqdai0815 | 3682 |
6 | ecnerwala | 3525 |
7 | gamegame | 3477 |
8 | Benq | 3468 |
9 | Ormlis | 3381 |
10 | maroonrk | 3379 |
# | User | Contrib. |
---|---|---|
1 | cry | 168 |
2 | -is-this-fft- | 165 |
3 | Dominater069 | 161 |
4 | Um_nik | 159 |
4 | atcoder_official | 159 |
6 | djm03178 | 157 |
7 | adamant | 153 |
8 | luogu_official | 150 |
9 | awoo | 149 |
10 | TheScrasse | 146 |
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 |
---|