Toggle navigation
编绘童年
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem A: 最值问题-n个数中的最大值
Problem A: 最值问题-n个数中的最大值
Time Limit:
1
Sec
Memory Limit:
128 MB
Submit:
151
Solved:
131
[
Status
] [
Submit
] [Creator:
]
Description
输入n个正整数,求这n
个数中的最大值。
Input
输入两行,
第一行为n,表示数的个数
第二行为这n个正整数,每两个数之间用一个空格隔开。
Output
仅一个数,为n
个数中的最大值。
Sample Input
Copy
10 1 4 2 7 6 91 2 26 78 55
Sample Output
Copy
91