257. C++·【27-2·难】字符串拼接

中等 C++ 2s 256MB
通过 0/0

📋 题目描述
输入两行字符串 s, t(每行均不为空,可能含空格),输出 s+t 拼接。
📥 输入描述
两行字符串。
📤 输出描述
一行:s+t。
输入样例
hello
world
输出样例
helloworld
提示:s+t 或 strcat。注意 getline 读入。

登录后提交代码

讨论区 0
登录后参与讨论

还没有讨论,来发表第一条吧!