编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[3]; int t; for(int i=0;i<3;i++){ s…… 题解列表 2022年03月09日 0 点赞 0 评论 492 浏览 评分:0.0
[编程入门]三个数字的排序 摘要:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if(a<b&&b<c)printf…… 题解列表 2022年03月04日 0 点赞 0 评论 548 浏览 评分:0.0
冒泡排序哦 摘要:解题思路:注意事项:参考代码:#include<stdio.h> void b_sort(int a[]){ int i,j,t; for(i=0;i<2;i++){ for(j=0…… 题解列表 2022年03月02日 0 点赞 0 评论 645 浏览 评分:0.0
[编程入门]三个数字的排序 摘要:解题思路:冒泡排序注意事项:参考代码:#include<stdio.h>#include <string.h>int main(){ int temp=0,flag=0,i,j; int …… 题解列表 2022年02月28日 0 点赞 0 评论 558 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x,y,z,max,min,mid; scanf("%d %d %d",&x,&y,&z); min=…… 题解列表 2022年02月13日 0 点赞 0 评论 596 浏览 评分:9.9
[编程入门]三个数字的排序 冒泡排序 摘要:参考代码:#include<stdio.h>int main(){ int a[3]; for(int i=0;i<3;i++) scanf("%d",&a[i]); for(int j=0;…… 题解列表 2022年01月05日 0 点赞 0 评论 601 浏览 评分:0.0
三个数字的排序-冒泡/选择排序法 摘要:解题思路:冒泡法与选择法排序注意事项:参考代码:#include <stdio.h>int main(){ int i,j,t,a[3]; //定义变量及数组为基本整型 //prin…… 题解列表 2021年12月11日 0 点赞 0 评论 731 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d %d %d",&a,&b,&c); if(a>b…… 题解列表 2021年12月05日 0 点赞 0 评论 572 浏览 评分:0.0
降序输出3个数 摘要:解题思路:3个变量依次比较就行了注意事项:参考代码:# include <stdio.h>int main () {int a,b,c,t; scanf ("%d %d %d",&a,&b,&c); …… 题解列表 2021年12月04日 0 点赞 0 评论 681 浏览 评分:0.0
排序(C语言自己的排序函数) #include#include//C语言自己的排序函数为qsort(),内部运用的是快速排序机制intcomp(constvoid*a,constvoid*b);intmain(){inta[3];for(inti=0;i<3;i++){scanf("%d", 题解列表 2021年11月18日 0 点赞 0 评论 746 浏览 评分:0.0