Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -22,8 +22,8 @@ extension algorithmOp
|
|||
}
|
||||
else
|
||||
{
|
||||
if(randomGenerator.nextInt(counter) < n)
|
||||
{ weak self[randomGenerator.nextInt(n)] := i }
|
||||
if(Random.nextInt(counter) < n)
|
||||
{ weak self[Random.nextInt(n)] := i }
|
||||
};
|
||||
|
||||
^ weak self.Value
|
||||
|
|
@ -32,7 +32,7 @@ extension algorithmOp
|
|||
}
|
||||
}
|
||||
|
||||
public program()
|
||||
public Program()
|
||||
{
|
||||
var bin := Array.allocate(10).populate::(n => new Integer());
|
||||
for(int trial := 0; trial < 10000; trial += 1)
|
||||
|
|
@ -48,5 +48,5 @@ public program()
|
|||
}
|
||||
};
|
||||
|
||||
console.printLine(bin).readChar()
|
||||
Console.printLine(bin).readChar()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue