008 unsafe bounds annotation

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

sum 48 at 41

Expected output

✓ Zig✓ JavaScript
sum 48 at 41

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: cells, size: 8, source: v: 0[i64])
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: acc, source: n: 0[i64])
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: cells[3].v: 7)
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: cells[5].v: 41)
flow ~sweep click a branch to expand · @labels scroll to their anchor
sweep (expr: cells)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "sum {{ acc.n:d }} at {{ cells[5].v:d }}")

Test Configuration

MUST_RUN