导航切换
Back
Overview
Status
Standings
Printer
Login
Login
Register
Start:
Jun, 14, 2019 18:00:00
4
End:
Jun, 14, 2019 18:50:00
Time elapsed:
Time remaining:
A
求最大值
1010
Time Limit:
1 Sec
Memory Limit:
128 MB
Submission:
5
AC:
2
Score:
0
Submit
Description
输入一个正整数 repeat (0<repeat<10),做repeat 次下列运算:
输入一个正整数 n, 再输入n 个整数,输出最大值。
Input
见sample
Output
见sample
Samples
input:
3 4 2 123 -100 0 4 9 1 -1 8 3 1 3 5
output:
123 9 5
Submit