请问在输入数字选项操作的时候,输入空格和1或者1加上空格算不算输入错误?还是不会提供这种测试样例? #10
Answered
by
Price1999a
tang-mouren
asked this question in
Q&A
-
|
使用了strcmp函数会导致空格1的输入非法,不知道这会不会影响样例的通过。 |
Beta Was this translation helpful? Give feedback.
Answered by
Price1999a
Feb 19, 2022
Replies: 2 comments 4 replies
-
|
你可以实现一个类似于 另外,你完全可以将这样的输入视作非法 |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
liusy58
-
|
Try |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你可以实现一个类似于
trim函数的功能另外,你完全可以将这样的输入视作非法