题解 1722: 字符串连接

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

字符串连接 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<string>#include<algorithm>#include<iostre……

字符串连接 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string……

字符串连接 (C++代码)可AC

摘要:解题思路:用string 的性质就可以解决了注意事项:参考代码:#include <iostream> #include <string> using namespace std; int ma……

字符串连接-题解(C++代码)

QAQ我来写题解才发现不能借用任何函数直接string类型然后输出就好了如果不用函数的也简单定义一个处理字符串的函数然后第一个数组开大一点一个for循环读到字符串末尾的时候就开始将另一个字符串的给插入进去完事~```cpp#includeusingnamespacestd;intmain(){//fr

字符串连接

摘要:解题思路:   注意事项:   参考代码:#include<bits/stdc++.h>using namespace std;int main(){    string a, b;    cin>>……