题目翻译没有说只是由小写字母组成的字符串。
原题中:
The first line of the input contains the string ss ( 1≤∣s∣≤1051\le|s|\le10^{5}1≤∣s∣≤105 ) of lowercase English letters.
说了只有小写字母。