|
|
вернуться в форумYou probably get WA#2 because your "for" goes untill 15001. Like this: for (i = 7; i < 15001; i++). Actually amount of prime numbers when i == 15001 is nearly about 2500. You need to make a counter of prime numbers and generate primes while (count <= 15001). Then your programm will be AC! |
|
|