现有一串神秘的密文 ciphertext,经调查,密文的特点和规则如下:
ciphertext
请根据上述规则将密文 ciphertext 解密为字母,并返回共有多少种解密结果。
示例 1:
输入:ciphertext = 216612 输出:6 解释:216612 解密后有 6 种不同的形式,分别是 "cbggbc","vggbc","vggm","cbggm","cqgbc" 和 "cqgm"
6
提示:
0 <= ciphertext < 231