016 collapse powmod square

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

59049

Expected output

59049

Flows

subflow ~pow-mod click a branch to expand · @labels scroll to their anchor
if (e == 0)
flow ~pow-mod click a branch to expand · @labels scroll to their anchor
pow-mod (base: 3, e: 10, acc: 1)

Test Configuration

MUST_RUN

Post-validation Script: