100 prisoners: Difference between revisions

m
(F# "smartChoice" modified to use functional approach (though less efficient))
Line 3,358:
Output:
 
<langpre>Games count: 2000
Probability of success with "random" strategy: 0
Probability of success with "optimal" strategy: 33.2</langpre>
 
=={{header|jq}}==
7,805

edits