作业帮 > 英语 > 作业

英语翻译Problem DescriptionIn order to make a new word,we will p

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/15 23:44:33
英语翻译
Problem Description
In order to make a new word,we will pick out m letters from all the upper case letters and lower case letters(from `a' to `Z').Therefore,that means you can pick some same letters.But here are two rules:
● as to all the neighbour letters,the absolute value of their ASCII code must be not greater than 32.
● there must be at least one pair of neighbour letters whose absolute value of ASCII code is exactly equal to 32.For example,considering the word in the form like "Xx" or "xX",the neighbour letters have an absolute value of ASCII code exactly equal to 32.
Now how many di erent words can we get?
题目描述
为了产生一个新命令,我们要从所有大小写字母(a到z)中挑出m个字母.因此,这就是说你可以挑选相同的字母.但是这有两条规定:
关于毗邻的字母,他们的ASCII码的绝对值绝对不能大于32.
必须有一对相邻的字母他们的ASCII码绝对值刚好等于32.比如,就处于 "Xx" or "xX"形式的命令,相邻的字母的ASCII码绝对值就刚好等于32.
现在我们可以得到多少个不同的命令呢?