9 lines
126 B
Julia
Executable file
9 lines
126 B
Julia
Executable file
#!/usr/bin/julia
|
|
|
|
println(
|
|
sum(filter(
|
|
x -> (x % 3 == 0) || (x % 5 == 0),
|
|
1:999
|
|
)
|
|
)
|
|
)
|