原翻译的最后一句:
问有多少种方案使得将所有问号替换成 111 到 999 的数字后两个字符串是不可比的?
应该改为:
问有多少种方案使得将所有问号替换成 000 到 999 的数字后两个字符串是不可比的?
原题:
Note that the obtained strings can contain leading zeroes and that distinct question marks can be replaced by distinct or the same integers.