it shows run error for two test cases
Playing with cards
Change line 11 to
for(int i=5;i<=100000;i++) and then check.
Also check if all primes are generated correctly with this reference code https://ide.codingblocks.com/s/279553
it shows run error for two test cases
Change line 11 to
for(int i=5;i<=100000;i++) and then check.
Also check if all primes are generated correctly with this reference code https://ide.codingblocks.com/s/279553