project-euler/001.jl
2020-12-07 20:32:54 -06:00

3 lines
64 B
Julia

f(c) = c % 3 == 0 || c % 5 == 0
println(sum(filter(f, 0:999)))