1501: 次大值
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:16
Solved:10
Description
输入n个数(n<100),输出其中的第二大值(次大值)
Input
输入正整数n(n<100),接下来输入n个整数x(-10000<x<10000)
Output
输入其中的次大值
Sample Input Copy
6
-1 -2 -3 -4 -5 -6
Sample Output Copy
-2