Powerball chances of winning is 292 million.
With my artimetic there is 80 million chances.
I am checking Powerball numbers everyday.
All the combinations were found.
I have slimmed down the amount of combinations.
My goal is to make the code faster.
How can I save extra 10 seconds for each line of code checking.
You can't save 10 seconds on each line of code unless you wrote really bad code.
A line of code should only take milliseconds.
I'm thinking your not waiting on the CPU but on the screen output.
With that in mind one way to make it faster would be to write output to a file instead of the screen.