001 node mint sum dispose

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

31

Expected output

31

Flows

flow ~node click a branch to expand · @labels scroll to their anchor
node (Node, source: item: i64, left: ?Node, right: ?Node)
subflow ~build click a branch to expand · @labels scroll to their anchor
if (depth > 0)
subflow ~sum click a branch to expand · @labels scroll to their anchor
if (t != null)
flow ~build click a branch to expand · @labels scroll to their anchor
build (item: 0, depth: 4)

Test Configuration

MUST_RUN