题解 1977: 求中间数

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

筛选

数组排序 输出

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

中位数体题解

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

求中间数-题解(Java代码)

摘要:解题思路:注意事项:参考代码:Scanner sc = new Scanner(System.in); int a [] = new int [3]; for (int i=0;i<3;i++){……

1977: 求中间数

摘要:#include <bits/stdc++.h> using namespace std; int main(){     vector<int> a(3,0);     cin >> a……

1977: 求中间数

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