Problem JS: 若干个数中的最小值

Problem JS: 若干个数中的最小值

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

SubmitProblemList

Description

Friday很任性,别人都是输入n个数找最小值,他非要输入不确定的个数。
用while循环输入若干个整数,直到输入的数是0。输出这些整数中最小的数。

Input

若干个整数,输入到0为止。
(设输入的数字为a,a满足0<a<=100)

Output

输出这些数中最小的数

Sample Input Copy

2 45 1 2 5 0

Sample Output Copy

1