Toggle navigation
码力同学 OJ
Home
Contest
Signup
Login
Start
2025-01-19 10:31:39
寒假作业(A班)
End
2025-02-08 00:00:00
Contest is over.
Now
2026-03-22 12:11:24
Information
Problem
Status
Standing
Clarification
Editorial
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
[
\
]
^
_
`
P. 序列的最大值
Description
给出一个长度为N的整数序列,求出其中最大的是几
Input
第一行一个整数N,表示接下来有几个数字
第二行N个整数X
Output
一行一个整数表示最大值
Examples
Input
5 1 3 2 5 4
Output
5
Submit
Login
Login
Signup
Time Limit
1 second
Memory Limit
128 MB
Submit
×