100 prisoners: Difference between revisions
m
→{{header|JavaScript}}: lang -> pre
(F# "smartChoice" modified to use functional approach (though less efficient)) |
m (→{{header|JavaScript}}: lang -> pre) |
||
Line 3,358:
Output:
<
Probability of success with "random" strategy: 0
Probability of success with "optimal" strategy: 33.2</
=={{header|jq}}==
|