+ 1

How write a programe to find prime numbers in a given range ?

function programing

29th Sep 2017, 2:52 PM
Abhi NaN
2 Respostas
+ 2
I tried to do with performance this way: you have to check for devisors up to sqrt(upper bound) You only have to check against primes as devisors Thats how I did a few days ago https://code.sololearn.com/cZN763nqKa4U/?ref=app
29th Sep 2017, 3:11 PM
Oma Falk
Oma Falk - avatar
+ 14
29th Sep 2017, 2:56 PM
Nithiwat
Nithiwat - avatar