no, it was fine. probably a web interface bug?
This commit is contained in:
parent
350d511cc6
commit
5ba1c71dc1
4
main.cpp
4
main.cpp
@ -14,8 +14,8 @@ int main() {
|
|||||||
notprime = false;
|
notprime = false;
|
||||||
for (unsigned int i=0;i<primes.size();++i) {
|
for (unsigned int i=0;i<primes.size();++i) {
|
||||||
if (nextnumber % primes[i] == 0) {
|
if (nextnumber % primes[i] == 0) {
|
||||||
notprime = true;
|
notprime = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!notprime) {
|
if (!notprime) {
|
||||||
|
Loading…
Reference in New Issue
Block a user