100 prisoners: Difference between revisions
m
→{{header|Phix}}: by 90 -> in
m (→{{header|Phix}}: use pygments) |
m (→{{header|Phix}}: by 90 -> in) |
||
Line 4,805:
constant iterations = 100_000
printf(1,"Simulation count: %d\n",iterations)
for prisoners
atom random = play(prisoners,iterations,false),
optimal = play(prisoners,iterations,true)
|