-
AYQQ管家2018 AYUI7版本
说明: AYQQ管家2018 AYUI7版本,界面很炫酷,值得参考(AYQQ Butler 2018 AYUI7 Version)
- 2020-06-16 06:40:02下载
- 积分:1
-
winform身份证号批量生成器
winform身份证号批量生成器
- 2015-01-24下载
- 积分:1
-
中间数
问题描述
在一个整数序列A1, A2, …, An中,如果存在某个数,大于它的整数数量等于小于它的整数数量,则称其为中间数。
在一个序列中,可能存在多个下标不相同的中间数,这些中间数的值是相同的。
给定一个整数序列,请找出这个整数序列的中间数的值。
输入说明
输入的第一行包含了一个整数n,表示整数序列中数的个数,1 ≤ n ≤ 1000。
第二行包含n个正整数,依次表示A1, A2, …,An,1 ≤ Ai ≤ 1000。
输出说明
如果序列的中间数存在,则输出中间数的值,否则输出-1表示不存在中间数。
输入样例
输入样例1
6
2 6 5 6 3 5
输入样例2
4
3 4 6 7
输出样例
输出样例1
5
输出样例2
-1
- 2022-09-17 02:00:03下载
- 积分:1
-
JDBC900c2
经典C程序 900个 合集 方便学习 易学易用(Collection of 900 classic C program)
- 2010-05-10 23:05:07下载
- 积分:1
-
matlab4
matlab 包括遗传算法等,包括交叉,变异等,包括计算的结果等。
(
Matlab bao kuo yi chuan suan fa deng bao kuo jiao cha bianyi deng bao kuo ji suan de jie guo deng
)
- 2011-05-26 19:02:10下载
- 积分:1
-
物业管理系统
物业小区管理系统,包括收费,住户,停车场,保修,投诉等功能
- 2022-12-15 11:05:04下载
- 积分:1
-
BinaryViewer
此软件是二进制的Windows实用工具允许你打开任何文件位置(在您的计算机上任何格式文件)。它能显示数据以十进制,八进制,十六进制和文本(ASCII码或统一的字符编码标准)的格式。(This software is a binary Windows utility that allows you to open any file location (any format file on your computer). It can display data in decimal, octal, sixteen hexadecimal and text (ASCII code or unified character encoding standard) format.)
- 2018-05-30 17:03:48下载
- 积分:1
-
DesktopSnow
说明: QT界面简单的图形移动和鼠标绘图,实现桌面下雪效果,动画效果(QT interface simple graphics movement and mouse drawing to achieve desktop snow effect, animation effect)
- 2019-04-19 15:33:15下载
- 积分:1
-
Desktop
说明: trinitycore files for source code of class 'creature'
- 2017-07-30 22:53:28下载
- 积分:1
-
Mydll
操作ORACLE和SQL BASE的封装类,并提供了相应的接口(Operation ORACLE and SQL BASE package type, and provides the corresponding interface)
- 2007-09-30 09:09:07下载
- 积分:1