故事
您看过9gag的这篇文章吗?也许您有自己的句子的感觉。但是随后您意识到,您只需要半个小时就可以打高尔夫球,而您将不必再花时间在上面。
提交
您的程序将获得一个输入字符串,该字符串将以加引号的形式返回,如下所述。禁止出现标准漏洞。允许输出为行列表。允许使用不影响输出的尾随空格和空行。
输入规则
- 输入仅包含可打印的ASCII字符。
- 输入中可能包含空格。单词是由它们决定的。
- 保证一个空间永远不会跟着另一个空间。
- 没有输入或空字符串的情况无关紧要。
输出规则
如果给出了一个单词,则程序必须在引号之间返回字符串。
如果输入字符串包含2个或更多单词,则它首先返回初始输入,但第一个单词用引号引起来。然后在下一行,它返回初始输入,但第二个单词用引号引起来。剩下的话依此类推。
通常,程序必须返回与输入中的单词一样多的行。
例子:
test -> "test"
This is codegolf -> "This" is codegolf
This "is" codegolf
This is "codegolf"
This is a significantly longer, but not the longest testcase -> "This" is a significantly longer, but not the longest testcase
This "is" a significantly longer, but not the longest testcase
This is "a" significantly longer, but not the longest testcase
This is a "significantly" longer, but not the longest testcase
This is a significantly "longer," but not the longest testcase
This is a significantly longer, "but" not the longest testcase
This is a significantly longer, but "not" the longest testcase
This is a significantly longer, but not "the" longest testcase
This is a significantly longer, but not the "longest" testcase
This is a significantly longer, but not the longest "testcase"
Here is an another one -> "Here" is an another one
Here "is" an another one
Here is "an" another one
Here is an "another" one
Here is an another "one"
这是代码高尔夫球,因此最低字节的答案将获胜!
"
字符吗?
''
,‘’
或者“”
,而不是""
?