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