golfed julia version of problem 1

This commit is contained in:
ikselven 2017-07-07 01:37:39 +02:00
parent d8d17c0dbd
commit 65b6786569

9
1/euler001.jl Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/julia
println(
sum(filter(
x -> (x % 3 == 0) || (x % 5 == 0),
1:999
)
)
)