can someone suggest optimizations to avoid TLE...
http://www.codechef.com/problems/PRETNUM
I am finding all primes using sieve then finding number of divisors of each number and then checking whether it is prime or not
can someone suggest optimizations to avoid TLE...
http://www.codechef.com/problems/PRETNUM
I am finding all primes using sieve then finding number of divisors of each number and then checking whether it is prime or not