Pick an integer uniformly from 1 to N inclusive. Return the probability that all of its decimal digits are different from one another.
N
Input
100
Output
0.9
This one's part of Premium. Unlock the full Probability track plus every other premium problem on the site.
solve(...)