eightbitbeast Messages 4 Reaction score 0 Thread starter Feb 17, 2016 #1 I am trying to find a benchmark program that will find all of the numbers between 1 and 1000 and give a time that it takes
I am trying to find a benchmark program that will find all of the numbers between 1 and 1000 and give a time that it takes
fresh_42 Staff Emeritus Science Advisor Homework Helper Insights Author 2025 Award Messages 20,819 Reaction score 28,465 Feb 17, 2016 #2 For so small numbers the good old sieve of Eratosthenes will probably do. https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes Last edited: Feb 17, 2016
For so small numbers the good old sieve of Eratosthenes will probably do. https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes