Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
p4bl0
· 13y ago · 0 comments
I have a good computer and it took a few seconds to test each numbers it said it was testing. They were all three 5 digits
even
numbers…
Comments
[–]
superbobry
13y ago
No wonder, just look at the code:
https://github.com/ben-eysenbach/do_good/blob/master/do_good...
[–]
kylec
13y ago
What? It's not returning 0 from isPrime once it hits a divisor? I think I wrote better prime-finding code in middle school.