C语言训练-字符串正反连接 正常思路解法 摘要:解题思路:通过正常的数组代换解题注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ int b,m,n,i,j,k,q; …… 题解列表 2021年10月12日 0 点赞 0 评论 441 浏览 评分:9.9
编写题解 1126: C语言训练-字符串正反连接 摘要:解题思路:注意字符串结束符注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int main() {…… 题解列表 2021年09月19日 0 点赞 0 评论 138 浏览 评分:0.0
字符串正反连接(C语言) 摘要:解题思路:先创建一个数组,用来储存输入字符串,再利用循环把字符串反着输出,把两个字符串连接到一个字符串中。注意事项:索引=字符串长度-1参考代码:#include<stdio.h>#include<s…… 题解列表 2021年09月12日 0 点赞 0 评论 220 浏览 评分:0.0
[编程入门]字符串正反连接-题解(C语言代码) 摘要:解题思路:str1[]输入,str2[]倒叙,str3[]链接注意事项:puts输出str3[]结尾需加'\0'参考代码:#include<stdio.h>#include<strin…… 题解列表 2021年08月20日 0 点赞 0 评论 732 浏览 评分:9.9
C语言训练-字符串正反连接解决方案 摘要:解题思路: 把a数组正反放到b数组内注意事项: 在b数组结尾处需加上‘\0’参考代码:int main(){ char a[100],b[200]; gets(a); int i…… 题解列表 2021年06月25日 0 点赞 0 评论 146 浏览 评分:0.0
使用for循环正向反向遍历 摘要:```c # include # include int main(void){ char a[50]; gets(a); for (int i=0;i=0;i--…… 题解列表 2021年06月07日 0 点赞 0 评论 679 浏览 评分:0.0
字符串的修改(摸鱼做法) 摘要:根据题意 每个字符想变成另一个字符 只需一步即可 所以我们只需要 找出两个字符串中相同的字符个数 然后拿最大的长度减去他们即可 ```c #include using namespace s…… 题解列表 2021年05月11日 0 点赞 0 评论 314 浏览 评分:6.0
字符串正反连接 5行代码 摘要: import java.util.Scanner; public class 字符串正反连接 { public static void main(String…… 题解列表 2021年04月01日 0 点赞 0 评论 205 浏览 评分:0.0
题解 1126: C语言训练-字符串正反连接 摘要:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ char s[50]; char s1[101]…… 题解列表 2021年03月23日 0 点赞 0 评论 212 浏览 评分:0.0
字符串正反连接代码 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { char a[100]; int i,n; scanf("%s",&a); n=strl…… 题解列表 2021年03月19日 0 点赞 0 评论 144 浏览 评分:0.0