def Parse.acc.ok
import bend-scanner@0.1.0.0/parse.bend as Parseimport Base
116def Parse.acc.ok(+acc: U32, +d: U32, +max: U32) -> Bool:
117 Nat.is_le(Nat.add(Nat.mul(U32.to_nat(acc), 10n), U32.to_nat(d)), U32.to_nat(max))
import bend-scanner@0.1.0.0/parse.bend as Parseimport Base
116def Parse.acc.ok(+acc: U32, +d: U32, +max: U32) -> Bool:
117 Nat.is_le(Nat.add(Nat.mul(U32.to_nat(acc), 10n), U32.to_nat(d)), U32.to_nat(max))