If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.
Real time: 2.820 s
User time: 4.846 s
Sys. time: 0.170 s
CPU share: 177.89 %
Exit code: 0
Real time: 0.738 s
User time: 0.401 s
Sys. time: 0.254 s
CPU share: 88.83 %
Exit code: 0