-->
当前位置:首页 > 题库

PROGRAMMING:Extremum of cycle

Luz5年前 (2021-05-10)题库459
For a given sequence, output the second largest number in the sequence.
###Input format:
Line 1: an integer n (2 < = n < = 100000), indicating the length of the sequence
Line 2: there are n unequal integers.
###Output format:
An integer representing the second largest number in the sequence.
###Input example:
```in
five
2 6 4 3 8
```
###Output example:
```out
six
```






answer:If there is no answer, please comment