020 nbody benchmark

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

nbody simulation complete, mass[0]=1

Expected output

nbody simulation complete, mass[0]=1

Flows

flow ~shape click a branch to expand · @labels scroll to their anchor
shape (expr: Body, source: x: f64, y: f64, vx: f64, vy: f64, mass: f64,)
flow ~init click a branch to expand · @labels scroll to their anchor
init (expr: Body, source: { x: 0.0, y: 0.0, vx: 0.0, vy: 0.0, mass: 1.0 }, { x: 1.0, y: 0.0, vx: 0.0, vy: 0.0, mass: 1.0 }, { x: 0.0, y: 1.0, vx: 0.0, vy: 0.0, mass: 1.0 }, { x: 1.0, y: 1.0, vx: 0.0, vy: 0.0, mass: 1.0 },)

Test Configuration

MUST_RUN