remove WriteLine
This commit is contained in:
parent
e7faccb57d
commit
b5df60b5f8
@ -57,7 +57,6 @@ namespace Euler {
|
|||||||
primes.Add(2);
|
primes.Add(2);
|
||||||
for (int i = 3; i <= num; i += 2) {
|
for (int i = 3; i <= num; i += 2) {
|
||||||
if (IsPrime(i, primes)) {
|
if (IsPrime(i, primes)) {
|
||||||
WriteLine(i);
|
|
||||||
primes.Add(i);
|
primes.Add(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user