Hi,
I am getting TLE on 2 testcases in Deepak and Primes-II problem.
My code is saved on below url. Please let me know how could I further optimised my code.
Hi,
I am getting TLE on 2 testcases in Deepak and Primes-II problem.
My code is saved on below url. Please let me know how could I further optimised my code.
You are also using Segmented Sieve. Not sure what is the issue exactly.
You can refer my code which passes all test cases -
https://ide.codingblocks.com/#/s/23145