no output, what changes need to be made?
Prime visits problem
@vipin.kumar
You have not taken input for n.
Even still this your code will give TLE as this problem requires you to use Sieve to precompute primes. The Sieve technique has been discussed in detail in the Number Theory section of your course. Kindly refer to it.
1 Like