题解 1126: C语言训练-字符串正反连接

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

筛选

运用函数解决问题

摘要:解题思路:调用reverse函数在进行相加注意事项:建议了解字符串相关的函数参考代码#include <iostream>#include <string>#include <algorithm>us……

使用reverse求解

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

纯新手,来看看呀QAQ

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int i,j,k;    char a[100],b[100];    gets(a);    for……