why it is showing time limit for one of the case???
Prime visit question doubr
@agarwalbhavya06 The naive approach for generating the prime numbers will fail for large test cases in this problem. You have to try it using Sieve of Eratosthenes whose lecture videos are available in the Number Theory section of your course. Try this problem after referring that.
ok thankyou sir…