字符串正反连接(简单C++) 摘要:#include<iostream> using namespace std; #include<string.h> int main() { char s1[50],s2[50];…… 题解列表 2022年10月26日 0 点赞 0 评论 397 浏览 评分:9.3
题解 1126: C语言训练-字符串正反连接 按题要求建新串 摘要:解题思路: 用两个数组存放字符串,再用新数组连接起来 注意事项: 参考代码: #include #include int main() { …… 题解列表 2022年10月24日 0 点赞 0 评论 455 浏览 评分:9.9
1126-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm> using namespace std;int main()…… 题解列表 2022年10月07日 0 点赞 0 评论 123 浏览 评分:0.0
先左到右遍历,再右到左,最后输出 摘要:```c #include #include int main(){ char s[110]; scanf("%s",s); int len=strlen(s); for(i…… 题解列表 2022年10月03日 0 点赞 0 评论 157 浏览 评分:0.0
1126: C语言训练-字符串正反连接 摘要:```cpp #include #include using namespace std; int main() { char ch1[50],ch2[50]; gets…… 题解列表 2022年09月22日 0 点赞 0 评论 655 浏览 评分:9.9
题解 1126: C语言训练-字符串正反连接(C语言) 摘要:# C语言:字符串正反连接 ## 题目 所给字符串正序和反序连接,形成新串并输出。 ## 主要步骤 - gets函数输入字符串,存入数组a中 - 将a的元素反序存入数组b中 …… 题解列表 2022年08月26日 0 点赞 0 评论 278 浏览 评分:0.0
1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char str[50]; gets(str); printf("%s",str); int l…… 题解列表 2022年06月23日 0 点赞 0 评论 160 浏览 评分:0.0
纯新手,来看看呀QAQ 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int i,j,k; char a[100],b[100]; gets(a); for…… 题解列表 2022年04月17日 0 点赞 0 评论 124 浏览 评分:0.0
编写题解 1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string str; cin>>str; cout…… 题解列表 2022年03月26日 0 点赞 0 评论 244 浏览 评分:0.0
写题解 1126: C语言训练-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int m,i; char str[51]; gets(str); m=st…… 题解列表 2022年03月09日 0 点赞 0 评论 243 浏览 评分:0.0