题目描述
为了产生一个新命令,我们要从所有大小写字母(a到z)中挑出m个字母.因此,这就是说你可以挑选相同的字母.但是这有两条规定:
关于毗邻的字母,他们的ASCII码的绝对值绝对不能大于32.
必须有一对相邻的字母他们的ASCII码绝对值刚好等于32.比如,就处于 "Xx" or "xX"形式的命令,相邻的字母的ASCII码绝对值就刚好等于32.
现在我们可以得到多少个不同的命令呢?
英语翻译
英语翻译
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?
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?
英语人气:103 ℃时间:2020-01-18 02:24:22
优质解答
我来回答
类似推荐
猜你喜欢
- 1-Why's Yoga so popular?-I think,Yoga can not onl
- 2几段语言优美的段落
- 3"will it rain" jack asked me 改为间接引语
- 4y=ax2+bx+c图象与x轴交于A、B与y轴交于C,OA=2,OB=1,OC=1,求函数解析式.(求出所有可能的情况)
- 5一(1)班原有少先队员人数是非少先队员的3分之1,今天又有10名同学加入了少先队,
- 6中彩那天课文中道德难题指什么意思想对他说些什么
- 7如图,在△ABC中,AB=AC,BD、CE分别为两腰上的中线,且BD⊥CE,则tan∠ABC=_.
- 8英语作文:HOW do you spend your summer holiday
- 9金属铝的密度是多少?1米长直径为35毫米的铝棒,重量是多少千克?现在价格多少1千克?
- 10Spring is coming.It's a good time for _____