Respuesta :

tonb
for the first digit you have 10 options (0..9).
For each next digit you can't choose the same digit, so you have 9 options.

So number of combinations is 10*9*9*9*9 = 65610