Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

factor package

Overview

Package factor is a Gauntlet judge: factor a number into primes.

Answers look like "2*2*3*7" (ascending, separated by "*"). Checking an answer is cheap: multiply the factors back and test each one for primality. Finding them is the work.

Function

Check

func Check(in, out string) bool
Ask AI Claude ChatGPT

Check reports whether out is the ascending prime factorization of in.

Params

Command

gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g188c5k6v0tmfyevfzj962jkajjqt4ddtml8zw0x/judges/factor.Check(,)"

Result

Gno Expression Evaluator

Evaluate any read-only Gno expression against gno.land/r/g188c5k6v0tmfyevfzj962jkajjqt4ddtml8zw0x/judges/factor, for example a function call with arguments.