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