牛子嗯了之打胶论I-序言 摘要:解题思路:冒泡排序通解 , 把中括号,3,2改一下就是通用答案了注意事项:参考代码:#include <stdio.h>int d[3],i,j,k;int main(){ for (i=0;i…… 题解列表 2023年03月23日 0 点赞 1 评论 141 浏览 评分:4.7
三个数字排序 摘要:解题思路:利用冒泡排序交换的思想,但是只有三个数,没必要用for循环。直接两两比较,三个if即可。注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t;…… 题解列表 2023年03月07日 0 点赞 0 评论 109 浏览 评分:0.0
利用选择排序处理三个整数 摘要:解题思路:1.利用一个大小为3的数组存储三个整数2..读入3个整数3.采用选择排序对该序列进行升序排列4.将排序好的数组输出注意事项:***:选择排序的执行次数是n-1,因为从无序的子序列选出n-1个…… 题解列表 2023年03月05日 0 点赞 0 评论 111 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:哔哔哔注意事项:bibibi参考代码:#include<iostream>using namespace std;int main(){ int a,b,c,x1,x2,x3,x4; …… 题解列表 2023年02月05日 0 点赞 0 评论 134 浏览 评分:2.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); printf("%d %d…… 题解列表 2023年01月27日 0 点赞 1 评论 518 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,t; scanf("%d %d %d",&a,&b,&c); if…… 题解列表 2023年01月15日 0 点赞 0 评论 102 浏览 评分:0.0
(笨方法)三个数字的排序 摘要:#include int main(){ int a,b,c,t; scanf("%d%d%d",&a,&b,&c); if(a>b){ t=a;a=b;b=t; } …… 题解列表 2023年01月08日 0 点赞 0 评论 142 浏览 评分:9.9
[编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main( ){int a, b, c;cin>>a>>b>>c;if(a>b){in…… 题解列表 2022年12月14日 0 点赞 0 评论 165 浏览 评分:9.9
宏定义函数 摘要:参考代码 #include #define min(x,y,z) xz?y:z) int main(void) { int a,b,c,m,n…… 题解列表 2022年12月11日 0 点赞 0 评论 150 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:利用max,min,找出最大最小值,之后总和再减去最大最小值则为中间值注意事项:max,min,的三目运算参考代码:#include <stdio.h>int main(){ int a, …… 题解列表 2022年11月28日 0 点赞 0 评论 209 浏览 评分:0.0