Prequel
primitive recursive driven programming


AlgoDeduce

 Loading challenge...

Deduce the algorithm: Press the Next button a few times and try to figure out an algorithm that expresses the relation between the Input and the Expected result. Edit and Run your Prequel program. Complete the challenge with Retry next. Upload solution to improve the Code golf leaderboard.

Run Pause Stop
Runtime Error: DIVISION BY ZERO
256
1048576
65536
← calls
← instructions
← memory (max use: 0)

Status: unknown 


Prequel program

Edit Save Load Debug
Parser Error: UNEXPECTED CHAR

Module: main

algo.return(algo.input)

Input:

ALGO.INPUT
 Number or list
  from which the expected result must be calculated
  and returned through function ALGO.RETURN.

Functions:

ALGO.RETURN(result)
 End computation and
  compare the calculated result
  against the expected result.
 Succeeds if there is a match; fails otherwise.

Available examples:

Prequel, ToPAS?