072 day07 part2

✓ Passing This code compiles and runs correctly.

Code

input.k

Supporting Files

input.txt

Actual

40149

Expected output

40149

Flows

subflow ~intern click a branch to expand · @labels scroll to their anchor
get (m: mm, k: tok)
subflow ~oper click a branch to expand · @labels scroll to their anchor
parse-int (s: tok)
subflow ~resolve click a branch to expand · @labels scroll to their anchor
if (@mod(p, 2) == 0)
subflow ~evalop click a branch to expand · @labels scroll to their anchor
if (op == 0)
subflow ~evalcircuit click a branch to expand · @labels scroll to their anchor
new
flow ~new click a branch to expand · @labels scroll to their anchor
new

Test Configuration

MUST_RUN