题解 | 字符串链接
字符串链接
https://www.nowcoder.com/practice/9f27c74ec91e4c7da96ba351dba235fc
#include <bits/stdc++.h> using namespace std; int main() { string a, b; while (cin >> a >> b) { // 注意 while 处理多个 case a += b; cout << a << endl; } } // 64 位输出请用 printf("%lld")