i am getting run-error on code submission, the output is correct for sample input.
i have used seive of eratosthenes for finding out primes. please look into this
i am getting run-error on code submission, the output is correct for sample input.
i have used seive of eratosthenes for finding out primes. please look into this
Hey Azmal, the method you have used is not seive of eratosthenes, It is not complete. your array is not seive array. Take a look again at this method
hello,
i have now implemented Sieve of eratosthenes as Prateek bhaiya taught.
here is the link to that : https://ide.codingblocks.com/s/65953
i am still getting timeLimit Error on code submission.
please can you also explain what data modifier to use according to constraints, link to the question : https://online.codingblocks.com/player/16560/content/4702?s=3847
“It is guaranteed that the answer does not exceed 10^6” i dont understand this?