.
问题 A: Not Found
时间限制: 1 Sec 内存限制: 128 MB
提交: 463 解决: 178
[提交] [状态] [讨论版] [命题人:admin]
题目描述
You are given a string S consisting of lowercase English letters. Find the lexicographically (alphabetically) smallest lowercase English letter that does not occur in S. If every lowercase English letter occurs in S, print None instead.
Constraints
1≤|S|≤105 (|S| is the length of string S.)
S consists of lowercase English letters.
输入
Input is given from Standard Input in the following format:
S
&n

给定一个字符串S,找出字母表中最小的未在S中出现的英文字母。如果所有字母都出现,则输出None。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



