Giving TLE, Problem: Deepak and Primes
@babayaga
see the constraints are quite large
1<=T<=10 1<=m<=n<=1000000000, n-m<=100000
so segmented sieve has to be used here
I think you are mixing Deepak and Primes WITH Deepak and Primes ll
I am talking about Deepak and Primes
Understood, Thank You so much, Marking the doubt as resolved
1 Like