Why Nostr? What is Njump?
2024-11-24 00:42:40

Dan Piponi on Nostr: I think this is curious. die() is the function you think it is. This code almost ...

I think this is curious. die() is the function you think it is. This code almost always returns 3.

int depth(int n)
{
if (n == 0)
{
return die(6);
}

return max(
min(depth(n - 1), depth(n - 1)),
min(depth(n - 1), depth(n - 1)));
}

(I have Haskell code to compute the exact prob.)
Author Public Key
npub1xs30e0pj7velktf5sxewnqf93tu2pdt3s6wtl6fug2tzgy8zxthsgfgrae