[编程入门]三个字符串的排序(用结构体来做) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct string { char a[100]; }; int ma…… 题解列表 2023年10月12日 0 点赞 0 评论 130 浏览 评分:9.9
三目运算符运用 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { char a[99],b[99],c[99];//输入字符串 …… 题解列表 2023年09月19日 0 点赞 0 评论 198 浏览 评分:0.0
1044题 : 三个字符串的排序 摘要:# 自己写的代码(没有写完,代码不好) ```c #include #include int main() { char a[20],b[20],c[20]; get…… 题解列表 2023年07月05日 0 点赞 0 评论 202 浏览 评分:0.0
1044:三个字符串的排序 摘要:1. 用一个二维数组存储3个字符串 2. 用一个字符指针数组分别存储3个字符串的地址 3. 采取选择排序法和`strcmp()`库函数进行具体的比较和排序 4. 对具体的参数可以采用宏定义以实…… 题解列表 2023年04月19日 0 点赞 1 评论 226 浏览 评分:9.9
编写题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> int compare(const voi…… 题解列表 2023年04月07日 0 点赞 0 评论 204 浏览 评分:0.0
简单明了,通俗易懂 摘要:解题思路:无脑莽注意事项:代码有点多参考代码:#include<stdio.h>#include<string.h>int main(){ char a[100]={0};char b[100]={0…… 题解列表 2023年03月17日 0 点赞 0 评论 169 浏览 评分:0.0
LikeWater - 1044: [编程入门]三个字符串的排序C++(适用于所有数据类型的冒泡排序!!) 摘要:###字符串排序——模板冒泡排序法! ##解题思路: *1、因为只有三个字符串所以可以不用排序算法,直接使用循环判断输出,代码如下:* ```cpp #include #include u…… 题解列表 2023年03月12日 0 点赞 1 评论 436 浏览 评分:9.9
编写题解 1044: [编程入门]三个字符串的排序 摘要:```c #include #include #include #include int main() { char a[3][128];//每一行存一串字符串 cha…… 题解列表 2023年03月08日 0 点赞 0 评论 264 浏览 评分:0.0
044: [编程入门]三个字符串的排序——极限strcmp 摘要:解题思路:注意事项:参考代码:#include<string.h>int main(){ char str1[100],str2[100],str3[100]; char m1[100],m2[100…… 题解列表 2023年03月06日 0 点赞 0 评论 182 浏览 评分:9.9
[编程入门]三个字符串的排序-JAVA题解 摘要: import java.util.Scanner; public class Main { public static void main(Str…… 题解列表 2023年03月05日 0 点赞 0 评论 284 浏览 评分:0.0