```cpp
#include<bits/stdc++.h>
using namespace std;
long long n,a[1000000];
int main()
{
cin>>n;
for(int i=0;i<n;i++)
{
cin>>a[i];
}
int maxx=-1;
int t=1;
for(int j=0;j<n;j++)
{
if(a[j+1]>a[j])
{
t++;
maxx=max(maxx,t);
}
else
t=1;
}
cout<<maxx;
return 0;
}
```
by zhangzhoumohan123 @ 2023-12-07 17:05:33
@[pineapple2023](/user/1071555)
```cpp
#include<bits/stdc++.h>
#define in long long
using namespace std;
signed main()
{
int n,a[1000000],i,j,t=1,ans=0;
cin>>n;
for(i=0;i<n;i++)
{
cin>>a[i];
}
for(j=0;j<n;j++)
{
if(a[j+1]>a[j])
{
t++;
if(t>ans)
ans=t;
}
else
t=1;
}
cout<<ans;
}
```
by Gauchi_Liu @ 2023-12-07 17:17:33