You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
295 lines
3.0 KiB
295 lines
3.0 KiB
---
|
|
test case: "123"
|
|
in:
|
|
str: "123"
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " 123"
|
|
in:
|
|
str: " 123"
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: "123 "
|
|
in:
|
|
str: "123 "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " 123 "
|
|
in:
|
|
str: " 123 "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " 123"
|
|
in:
|
|
str: " 123"
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: "123 "
|
|
in:
|
|
str: "123 "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " 123 "
|
|
in:
|
|
str: " 123 "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: "\"123\""
|
|
in:
|
|
str: "\"123\""
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " \"123\""
|
|
in:
|
|
str: " \"123\""
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: "\"123\" "
|
|
in:
|
|
str: "\"123\" "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " \"123\" "
|
|
in:
|
|
str: " \"123\" "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " \"123\""
|
|
in:
|
|
str: " \"123\""
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: "\"123\" "
|
|
in:
|
|
str: "\"123\" "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " \"123\" "
|
|
in:
|
|
str: " \"123\" "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: ""
|
|
in:
|
|
str: ""
|
|
out:
|
|
str: ""
|
|
---
|
|
test case: "\""
|
|
in:
|
|
str: "\""
|
|
out:
|
|
str: "\""
|
|
---
|
|
test case: "\"\""
|
|
in:
|
|
str: "\"\""
|
|
out:
|
|
str: ""
|
|
---
|
|
test case: "\" \""
|
|
in:
|
|
str: "\" \""
|
|
out:
|
|
str: " "
|
|
---
|
|
test case: " \""
|
|
in:
|
|
str: " \""
|
|
out:
|
|
str: "\""
|
|
---
|
|
test case: " \"\""
|
|
in:
|
|
str: " \"\""
|
|
out:
|
|
str: ""
|
|
---
|
|
test case: " \" \""
|
|
in:
|
|
str: " \" \""
|
|
out:
|
|
str: " "
|
|
---
|
|
test case: "\" "
|
|
in:
|
|
str: "\" "
|
|
out:
|
|
str: "\""
|
|
---
|
|
test case: "\"\" "
|
|
in:
|
|
str: "\"\" "
|
|
out:
|
|
str: ""
|
|
---
|
|
test case: "\" \" "
|
|
in:
|
|
str: "\" \" "
|
|
out:
|
|
str: " "
|
|
---
|
|
test case: " \" "
|
|
in:
|
|
str: " \" "
|
|
out:
|
|
str: "\""
|
|
---
|
|
test case: " \"\" "
|
|
in:
|
|
str: " \"\" "
|
|
out:
|
|
str: ""
|
|
---
|
|
test case: " \" \" "
|
|
in:
|
|
str: " \" \" "
|
|
out:
|
|
str: " "
|
|
---
|
|
test case: "\"123 \""
|
|
in:
|
|
str: "\"123 \""
|
|
out:
|
|
str: "123 "
|
|
---
|
|
test case: "\" 123\""
|
|
in:
|
|
str: "\" 123\""
|
|
out:
|
|
str: " 123"
|
|
---
|
|
test case: "\" 123 \""
|
|
in:
|
|
str: "\" 123 \""
|
|
out:
|
|
str: " 123 "
|
|
---
|
|
test case: " \"123 \""
|
|
in:
|
|
str: " \"123 \""
|
|
out:
|
|
str: "123 "
|
|
---
|
|
test case: " \" 123\""
|
|
in:
|
|
str: " \" 123\""
|
|
out:
|
|
str: " 123"
|
|
---
|
|
test case: " \" 123 \""
|
|
in:
|
|
str: " \" 123 \""
|
|
out:
|
|
str: " 123 "
|
|
---
|
|
test case: "\"123 \" "
|
|
in:
|
|
str: "\"123 \" "
|
|
out:
|
|
str: "123 "
|
|
---
|
|
test case: "\" 123\" "
|
|
in:
|
|
str: "\" 123\" "
|
|
out:
|
|
str: " 123"
|
|
---
|
|
test case: "\" 123 \" "
|
|
in:
|
|
str: "\" 123 \" "
|
|
out:
|
|
str: " 123 "
|
|
---
|
|
test case: " \"123 \" "
|
|
in:
|
|
str: " \"123 \" "
|
|
out:
|
|
str: "123 "
|
|
---
|
|
test case: " \" 123\" "
|
|
in:
|
|
str: " \" 123\" "
|
|
out:
|
|
str: " 123"
|
|
---
|
|
test case: " \" 123 \" "
|
|
in:
|
|
str: " \" 123 \" "
|
|
out:
|
|
str: " 123 "
|
|
---
|
|
test case: "+"
|
|
in:
|
|
str: "+"
|
|
out:
|
|
str: ""
|
|
---
|
|
test case: "++"
|
|
in:
|
|
str: "++"
|
|
out:
|
|
str: "+"
|
|
---
|
|
test case: "+123"
|
|
in:
|
|
str: "+123"
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: "++123"
|
|
in:
|
|
str: "++123"
|
|
out:
|
|
str: "+123"
|
|
---
|
|
test case: "+\"123\""
|
|
in:
|
|
str: "+\"123\""
|
|
out:
|
|
str: "\"123\""
|
|
---
|
|
test case: " \"+123\" "
|
|
in:
|
|
str: " \"+123\" "
|
|
out:
|
|
str: "123"
|
|
---
|
|
test case: " \"+\" "
|
|
in:
|
|
str: " \"+\" "
|
|
out:
|
|
str: ""
|
|
---
|
|
test case: " \"+ \" "
|
|
in:
|
|
str: " \"+ \" "
|
|
out:
|
|
str: " "
|
|
---
|
|
test case: " \" +\" "
|
|
in:
|
|
str: " \" +\" "
|
|
out:
|
|
str: " +"
|
|
---
|
|
test case: " \" + \" "
|
|
in:
|
|
str: " \" + \" "
|
|
out:
|
|
str: " + "
|