#741. 求连续升序序列长度
求连续升序序列长度
Description
在一个数据序列中,如果出现连续升序的几个数,称为一个升序序列,该序列中数的个数称为序列长度。
Format
Input
第一行,一个整数n,表示数据个数
第二行,n个整数,以空格分隔
Output
输出最大连续升序序列的长度
Samples
10
23 60 39 73 23 13 45 83 37 68
3
Limitation
1s, 1024KiB for each test case.