Skip to content

Latest commit

 

History

History

001

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Multiples of 3 and 5

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.

Performance

Clojure

Try it online!

Real time: 2.820 s
User time: 4.846 s
Sys. time: 0.170 s
CPU share: 177.89 %
Exit code: 0

Elixir

Try it online!

Real time: 0.738 s
User time: 0.401 s
Sys. time: 0.254 s
CPU share: 88.83 %
Exit code: 0