Comments

What's that? I don't see it... Where does the "25" come from?

If you are talking about the second division yes! But you should multiply the result by 2^n because you can choose, for each letter, if it would be uppercase or lowercase!

On Rebryk → Codeforces Round #291 (Div. 2), 12 years ago
+8

I don't know... but by 'with no leading zeros' I understood that you can't write 0003 (for example). I think that the statement should say something like 'with the same nuber of digits'.

What do you think?