005 assumes transitive closure

✓ Passing This code compiles and runs correctly.

Code

input.kz

Flows

subflow ~mid click a branch to expand · @labels scroll to their anchor
leaf (v: 42)
subflow ~root click a branch to expand · @labels scroll to their anchor
mid (n: 7)

Test Configuration

Post-validation Script: