mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
10 lines
193 B
TypeScript
10 lines
193 B
TypeScript
//! test_output(233168)
|
|
|
|
import Range from "../helpers/Range.ts";
|
|
|
|
export default function main() {
|
|
return Range.numbers(0, 1000)
|
|
.filter((x) => x % 3 === 0 || x % 5 === 0)
|
|
.sum();
|
|
}
|