mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-14 16:08:02 -05:00
10 lines
182 B
TypeScript
10 lines
182 B
TypeScript
//! test_output_slow(142913828922)
|
|
|
|
import Range from "../helpers/Range.ts";
|
|
|
|
export default function main() {
|
|
return Range.primes()
|
|
.while((p) => p < 2_000_000)
|
|
.sum();
|
|
}
|