Anonymous user
Verify distribution uniformity/Naive: Difference between revisions
→{{header|Ruby}}
(→{{header|Racket}}: Marked incorrect as the arguments don't fit the task description.) |
|||
Line 1,058:
end
puts h
end
Line 1,071 ⟶ 1,070:
end</lang>
{{out}}
<pre>0 10048
1 9949
#<StandardError: distribution potentially skewed for 'false': expected around 50000.0, got 94841></pre>▼
2 9920
3 9919
4 9957
5 10087
6 9835
7 10026
8 10069
9 10190
▲#<StandardError: distribution potentially skewed for 'false': expected around 50000.0, got
</pre>
=={{header|Run BASIC}}==
|