联系我们:18205821666(微信同号)
Problem1061--打擂台-求最小值

1061: 打擂台-求最小值

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 2950  Solved: 1465
[Status] [Submit] [Creator:]

Description

输入n个正整数,求这n个数中的最小值。

Input

输入为两行。
第一行为n,表示整数序列的长度(n<=1000)。
第二行为输入的n个正整数,每两个数之间用一个空格隔开。所有a[i]<=1000。

Output

仅一个数,为n个数中的最小值。

Sample Input Copy

10
 5 7 9 4 23 7 45 2 9 88

Sample Output Copy

2

HINT

n<=1000 a[i]<=1000

Source/Category

 入门