题解 1977: 求中间数

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

筛选

求中间数-题解(C++代码)

摘要:解题思路:利用sort函数排好序之后直接输出a【1】位置,即为中间数注意事项:参考代码:#include<iostream> #include"algorithm" using namespace……

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

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

求中间数 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() {     int a[3];     scanf("%d %d %d",&a[0],&a[1],&a[……