题解 1977: 求中间数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

数组排序 输出

摘要:## 使用数组 排序 输出第二个数 ```c++ #include using namespace std; void Sort(int*nums,int n) { for(int……

1977: 求中间数

摘要:#include<stdio.h> int main() {     int a,b,c,mid;     scanf("%d %d %d", &a,&b,&c);     if(a>b) ……

一种容易理解的方法

摘要:解题思路:注意事项:参考代码:注意逻辑#include<stdio.h>int main(){    int a,b,c;    scanf("%d""%d""%d",&a,&b,&c);    if……

中位数体题解

摘要:解题思路:先选出最大值与最小值再取中间值;注意事项:注意变量的选择;参考代码:#include <stdio.h>int main(){int a,b,c,max,min,sum;scanf("%d%……

1977C语言666good

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int a,b,c,max,min ,mid; scanf("%d%d%d",&a,&b,&c); max=……

1977: 求中间数。排序后输出中间位

摘要:解题思路:排序后输出中间位注意事项:宏定义不明白就换成普通tab交换参考代码:#include <stdio.h> #define CHANGE(a,b) a^=b,b^=a,a^=b int m……