joj2356
来源:互联网 发布:如何自学大数据 编辑:程序博客网 时间:2024/06/05 03:41
2356: Maximum Number
Given a series of integer, find the maximum number.
Input
Multi-case. The first line gives count n (n < 100) of this array. n=0 means end of input. There are one integer in the next n lines.
Output
For each case, output the maximum number in one line.
Sample Input
31 4 50
Sample Output
5
Problem Source: 1st Jilin Province Contest Warmup, skywind
Submit / Problem List / Status / Discuss