likecs/Competitive-Coding

MISSING - Segmented Sieve and Linear Time Sieve

ks-amit opened this issue · 1 comments

@dumbape , all the implementations you wrote in the headings are available here. The only thing which I found extra in your code is regarding sum/product of divisors. The segmented sieve code of yours is not optimised and uses unnecessary if statements and no comments regarding calling the sive function before so that "pr" vector is correctly initialised.

I am closing this issue now. You can create a pull request for the sum of divisors things but before doing so, refer to the contributing guidelines