4 ms·
I think it should be something like: test for all even numbers only once + uint last = ceil(sqrt(n)); for(uint a=3; a<=last; ++a,++a)
by nivertech 11y ago
I think it should be something like:
test for all even numbers only once
+
uint last = ceil(sqrt(n));
for(uint a=3; a<=last; ++a,++a)