纯新手,来看看呀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<stdio.h> int main() { char str[50]; gets(str); printf("%s",str); int l…… 题解列表 2022年06月23日 0 点赞 0 评论 160 浏览 评分:0.0
题解 1126: C语言训练-字符串正反连接(C语言) 摘要:# C语言:字符串正反连接 ## 题目 所给字符串正序和反序连接,形成新串并输出。 ## 主要步骤 - gets函数输入字符串,存入数组a中 - 将a的元素反序存入数组b中 …… 题解列表 2022年08月26日 0 点赞 0 评论 278 浏览 评分: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-字符串正反连接 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>#include<algorithm> using namespace std;int main()…… 题解列表 2022年10月07日 0 点赞 0 评论 123 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i; char a[200]; gets (a);…… 题解列表 2022年11月02日 0 点赞 0 评论 179 浏览 评分:0.0
暴力解法(凑字数。。。。。。。 摘要:解题思路:注意事项:参考代码:n=list(input())m=n.copy()n.reverse()c=m+nfor i in c: print(i,end='')…… 题解列表 2022年12月28日 0 点赞 0 评论 134 浏览 评分:0.0
1126: C语言训练-字符串正反连接 摘要:解题思路:解1;先反转字符串,再合并正反字符串,后输出(更严谨)。解2;先正着输出字符串,再反着输出字符串(简单暴力);注意事项:参考代码:代码1;#include<stdio.h>#include<…… 题解列表 2022年12月30日 0 点赞 0 评论 222 浏览 评分:0.0
字符串正反连接(C语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>char *fun(char str[]){ char* str1 = str; char* str…… 题解列表 2023年01月05日 0 点赞 0 评论 110 浏览 评分:0.0
编写题解 1126: C语言训练-字符串正反连接 正序打印和逆序打印 摘要:解题思路:注意事项:参考代码:#include <string.h> #include <stdio.h> int main(void) { char a[100]={0}; int …… 题解列表 2023年01月09日 0 点赞 0 评论 161 浏览 评分:0.0