Can anyone give me some problems about range GCD with adding updates?
and Hints about: https://www.codechef.com/KJSC2019/problems/RGCD (codechef — Range GCD) ?
# | User | Rating |
---|---|---|
1 | tourist | 3757 |
2 | jiangly | 3647 |
3 | Benq | 3581 |
4 | orzdevinwang | 3570 |
5 | Geothermal | 3569 |
5 | cnnfls_csy | 3569 |
7 | Radewoosh | 3509 |
8 | ecnerwala | 3486 |
9 | jqdai0815 | 3474 |
10 | gyh20 | 3447 |
# | User | Contrib. |
---|---|---|
1 | maomao90 | 171 |
2 | adamant | 164 |
3 | awoo | 163 |
4 | TheScrasse | 159 |
5 | nor | 156 |
6 | maroonrk | 154 |
7 | -is-this-fft- | 152 |
8 | Petr | 147 |
9 | orz | 145 |
9 | pajenegod | 145 |
Can anyone give me some problems about range GCD with adding updates?
and Hints about: https://www.codechef.com/KJSC2019/problems/RGCD (codechef — Range GCD) ?
Name |
---|
Auto comment: topic has been updated by AngryBaymax (previous revision, new revision, compare).
This problem can be solved using lazy propagation.
Another nice Problem on gcd queries
https://codeforces.com/contest/914/problem/D