bzoj#P2881. [Ceoi2000] LandsScape

[Ceoi2000] LandsScape

题目描述

给定 nn 段地势高度 hih_i,求最长的一段连续严格上升的地势长度(以段的个数计)。

输入格式

第一行一个整数 nn(1≤n≤1051\le n\le 10^5)。 第二行 nn 个整数 hih_i(0≤hi≤1090\le h_i\le 10^9)。

输出格式

输出一个整数,表示最长连续严格上升段的长度。

样例输入

7
1 3 4 2 5 6 7

样例输出

4