[编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main( ){int a, b, c;cin>>a>>b>>c;if(a>b){in…… 题解列表 2022年12月14日 0 点赞 0 评论 278 浏览 评分: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 评论 273 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:利用max,min,找出最大最小值,之后总和再减去最大最小值则为中间值注意事项:max,min,的三目运算参考代码:#include <stdio.h>int main(){ int a, …… 题解列表 2022年11月28日 0 点赞 0 评论 402 浏览 评分:0.0
[编程入门]三个数字的排序(三目运算符解决) 摘要:解题思路:注意事项:参考代码:int main(){ int a, b, c, d, e, f, g, h; scanf("%d%d%d", &a, &b, &c); d = a > b ? a…… 题解列表 2022年11月25日 0 点赞 0 评论 312 浏览 评分:0.0
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#pragma warning (disable:4996)int main() { int x, y,z; scanf("%d%d%d…… 题解列表 2022年11月25日 0 点赞 0 评论 264 浏览 评分:0.0
C语言 三个数字的排序& 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#define Long 3 //改变Long的值,能输入更多的数并排…… 题解列表 2022年11月21日 0 点赞 0 评论 264 浏览 评分:9.9
1043一行解(Python) 摘要:注意事项:可以参考一下其他人的一行解,体会其中的不同点参考代码:for data in [i for i in sorted(map(int, input().split()))] : print(d…… 题解列表 2022年11月05日 0 点赞 0 评论 293 浏览 评分:9.9
三个数字排序 摘要:解题思路:判断是否满足条件,不满足就一直循环注意事项:逻辑运算要括起来,不然只会读前一个部分了参考代码:#include<stdio.h>int main(){ int a,b,c; int t…… 题解列表 2022年10月23日 0 点赞 0 评论 220 浏览 评分:0.0
三个数排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#include <algorithm> int main(){ int a,b,c; …… 题解列表 2022年10月20日 0 点赞 0 评论 254 浏览 评分:9.9
1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; if(a>b){in…… 题解列表 2022年10月20日 0 点赞 0 评论 339 浏览 评分:9.9