prime sieve reuse loop

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

passes: 3
validated primes: 78498

Expected output

passes: 3
validated primes: 78498

Flows

subflow ~tick click a branch to expand · @labels scroll to their anchor
if (passes < limit)
subflow ~run click a branch to expand · @labels scroll to their anchor
#L tick (limit, passes: 0)
flow ~new click a branch to expand · @labels scroll to their anchor
new (bits: 500000)

Test Configuration

MUST_RUN