-
Notifications
You must be signed in to change notification settings - Fork 896
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第二题中的一些疑问? #8
Comments
不允许使用其他数据结构。你这里使用了map。 |
哦,那改成这样可以吧?
|
只有127个可以在键盘上打出来的,所以不用判断127之后的。 |
只要大于127,就必然重复这个事肯定的,不过和键盘没关系,ASCII码表长度就128,不过你那个题目有点坑 保证字符串中的字符为【ASCII字符】。字符串的长度小于等于【3000】。 这句话到底是题目保证的还是要实现的啊 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
既然都是ASCII码,那长度大于256必定会出现重复的,所以改为以下是不是可以:
The text was updated successfully, but these errors were encountered: