Used this approach but still not working giving an tle error
Java DS
💡-prateek-loves-candy
Shubham-Singh-3182890108418568
(Shubham Singh)
November 4, 2019, 10:58pm
#1
I have used sieve’s approach. Do I need to use segmented sieve.?