Created
November 5, 2014 11:04
-
-
Save ivarne/fe258ea95b9982827676 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
num = rand(1_000_000) | |
len = map(rand(1_000_000)) do a | |
e = string(a) | |
if e[1] == '0' | |
length(e)-2 | |
else | |
length(e)-4 | |
end | |
end | |
h = hist(len) | |
println(int(hcat(h[1][2:end],h[2]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment