Skip to content

Unable input string as test case use file #739

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

Open
voidweapon opened this issue Sep 23, 2021 · 4 comments
Open

Unable input string as test case use file #739

voidweapon opened this issue Sep 23, 2021 · 4 comments

Comments

@voidweapon
Copy link

voidweapon commented Sep 23, 2021

🐛 Bug Report

Platform: Windows
One single line like ""abcabcbb"" can work.
but Multiline cause error, input like follow:
case 1:
""abcabcbb""
""abcabcbb""

Runtime Error
Error
"abcabcbb"" is not a valid value of type string
"abcabcbb"" is not a valid value of type string
Your Input
"abcabcbb""
"abcabcbb"


case 2
"\"XX\""
"\"bacdgf\""

Runtime Error
Error
\XX\" is not a valid value of type string
\XX\" is not a valid value of type string
Your Input
\XX\"
"\bacdgf\

@AkaCoder404
Copy link

AkaCoder404 commented Feb 28, 2022

I believe you do something like this ["abcabcbb"\n"abcabcbb" ], make sure there is a space at the end, and without the []

@NominationP
Copy link

I believe you do something like this ["abcabcbb"\n"abcabcbb" ], make sure there is a space at the end, and without the []

"make sure there is a space at the end" this thing is Not enough grace

@NominationP
Copy link

I believe you do something like this ["abcabcbb"\n"abcabcbb" ], make sure there is a space at the end, and without the []

if I want to input ---> " "
add space at the end is not work

“ ” is not a valid value of type string

@AkaCoder404
Copy link

What I do know is

 "abc"\n "abc"

with a space in the beggining and space before the breakline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants