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

Inputs

func Inputs(seed uint64) []string
Ask AI Claude ChatGPT

Inputs returns 6 random numbers for a seed.

Param

Command

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

Result

Gno Expression Evaluator

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