Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -2,24 +2,24 @@ import extensions;
|
|||
|
||||
A(k,x1,x2,x3,x4,x5)
|
||||
{
|
||||
var m := new ref<int>(k);
|
||||
var m := new Reference<int>(k);
|
||||
|
||||
var b := { m -= 1; ^ A(m,this self,x1,x2,x3,x4) };
|
||||
var b := { m -= 1; ^ A(m,this self,x1,x2,x3,x4) };
|
||||
|
||||
if (m <= 0)
|
||||
{
|
||||
^ x4() + x5()
|
||||
}
|
||||
else
|
||||
{
|
||||
^ b()
|
||||
}
|
||||
if (m <= 0)
|
||||
{
|
||||
^ x4() + x5()
|
||||
}
|
||||
else
|
||||
{
|
||||
^ b()
|
||||
}
|
||||
}
|
||||
|
||||
public program()
|
||||
public Program()
|
||||
{
|
||||
for(int n := 0; n <= 14; n += 1)
|
||||
{
|
||||
console.printLine(A(n,{^1},{^-1},{^-1},{^1},{^0}))
|
||||
}
|
||||
for(int n := 0; n <= 14; n += 1)
|
||||
{
|
||||
Console.printLine(A(n,{ ^1 },{ ^-1 },{ ^-1 },{ ^1 },{ ^0 }))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue