Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
3
Task/Monty-Hall-problem/K/monty-hall-problem.k
Normal file
3
Task/Monty-Hall-problem/K/monty-hall-problem.k
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
montyhall:{t:,/ 1_ x {`prng@`t[];ch:1?3;pr:1?3;sw:1?2;$[sw;a:ch=pr;a:~(ch=pr)];a}\0N;("KEEP %";(+/t)%x;"SWAP %";(+/~t)%x)}
|
||||
|
||||
montyhall 100000
|
||||
Loading…
Add table
Add a link
Reference in a new issue