统计天数
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
统计天数
题目描述
炎热的夏日,KC 非常的不爽。他宁可忍受北极的寒冷,也不愿忍受厦门的夏天。最近,他开始研究天气的变化。他希望用研究的结果预测未来的天气。
经历千辛万苦,他收集了连续 天的最高气温数据。
现在,他想知道最高气温一直上升的最长连续天数。
输入格式
第 1 行:一个整数 。
第 2 行:个空格隔开的整数,表示连续 天的最高气温。 最高气温 。
输出格式
1 行:一个整数,表示最高气温一直上升的最长连续天数。
样例 #1
样例输入 #1
10
1 2 3 2 4 5 6 8 5 9
样例输出 #1
5
给春天画个句号
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 3
- Start at
- 2024-6-22 13:45
- End at
- 2024-9-13 21:45
- Duration
- 2000 hour(s)
- Host
- Partic.
- 33