Hi.
I trying to solve the puzzle but can’t even calculate the example:
Input
1
1
3 1
Here is my solution:
// the password: 1 digit + 2 chars (3 - 1)
// count of possible digits = 10 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
// count of possible chars = 5 ['A', 'E', 'I', 'O', 'U']
time_for_digits = 10^1 = 10
time_for_chars = 5^2 + 5^1 = 30
time_total = 10 * 30 = 300
But the right answer is 250.
Need some hints…