Data update

This commit is contained in:
Ingy döt Net 2024-03-06 22:25:12 -08:00
parent ed705008a8
commit 0df55f9f24
2196 changed files with 32999 additions and 3075 deletions

View file

@ -18,7 +18,7 @@ A(k,x1,x2,x3,x4,x5)
public program()
{
for(int n := 0, n <= 14, n += 1)
for(int n := 0; n <= 14; n += 1)
{
console.printLine(A(n,{^1},{^-1},{^-1},{^1},{^0}))
}

View file

@ -0,0 +1,19 @@
[<EntryPoint>]
let main (args : string[]) =
let k = int(args.[0])
let l x cont = cont x
let rec a k x1 x2 x3 x4 x5 cont =
if k <= 0 then
x4 (fun n4 -> x5 (fun n5 -> cont (n4+n5)))
else
let mutable k = k
let rec b cont =
k <- k - 1
a k b x1 x2 x3 x4 cont
b cont
a k (l 1) (l -1) (l -1) (l 1) (l 0) (printfn "%d")
0

View file

@ -1,4 +1,4 @@
import "/fmt" for Fmt
import "./fmt" for Fmt
var a
a = Fn.new { |k, x1, x2, x3, x4, x5|

View file

@ -1,4 +1,4 @@
/* man_or_boy_test_gmp.wren */
/* Man_or_boy_test_2.wren */
import "./gmp" for Mpz
import "./fmt" for Fmt