Deepak and Primes II
in this problem I am getting 1 tle and 6 correct answers. Please help here. Code is below
Getting TLE in 1 test case
Hey,
Your code is not optimized at ‘for loop’ on line 51. You should traverse only those elements which are multiples of ‘i’ and not each element between ‘m’ and ‘n’.