1977: 求中间数---三目运算符 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<iomanip> #include<cmath> using namespace std; int mai…… 题解列表 2023年10月16日 0 点赞 0 评论 152 浏览 评分:0.0
数组排序 输出 摘要:## 使用数组 排序 输出第二个数 ```c++ #include using namespace std; void Sort(int*nums,int n) { for(int…… 题解列表 2023年05月13日 0 点赞 0 评论 137 浏览 评分:0.0
1977: 求中间数 摘要:#include<stdio.h> int main() { int a,b,c,mid; scanf("%d %d %d", &a,&b,&c); if(a>b) …… 题解列表 2023年03月12日 0 点赞 0 评论 140 浏览 评分:0.0
一种容易理解的方法 摘要:解题思路:注意事项:参考代码:注意逻辑#include<stdio.h>int main(){ int a,b,c; scanf("%d""%d""%d",&a,&b,&c); if…… 题解列表 2022年03月14日 0 点赞 0 评论 473 浏览 评分:8.0
1977: 求中间数 摘要:#include <bits/stdc++.h> using namespace std; int main(){ vector<int> a(3,0); cin >> a…… 题解列表 2022年01月11日 0 点赞 0 评论 124 浏览 评分:0.0
1977: 求中间数 摘要:解题思路:注意事项:参考代码:ls = list(map(int,input().split())) ls.sort() print(ls[1])…… 题解列表 2021年12月31日 0 点赞 0 评论 207 浏览 评分:0.0
中位数体题解 摘要:解题思路:先选出最大值与最小值再取中间值;注意事项:注意变量的选择;参考代码:#include <stdio.h>int main(){int a,b,c,max,min,sum;scanf("%d%…… 题解列表 2021年12月06日 0 点赞 0 评论 206 浏览 评分:0.0
1977C语言666good 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b,c,max,min ,mid; scanf("%d%d%d",&a,&b,&c); max=…… 题解列表 2021年11月01日 0 点赞 0 评论 136 浏览 评分:0.0
大爷子!慢点敲,等等我。。。 摘要:解题思路:比较6次就好了,,,注意事项:参考代码:#include<cstdio>int main(){ int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a…… 题解列表 2021年07月19日 0 点赞 0 评论 209 浏览 评分:0.0
1977: 求中间数。排序后输出中间位 摘要:解题思路:排序后输出中间位注意事项:宏定义不明白就换成普通tab交换参考代码:#include <stdio.h> #define CHANGE(a,b) a^=b,b^=a,a^=b int m…… 题解列表 2021年03月05日 0 点赞 0 评论 348 浏览 评分:0.0