#55476: C語言


soul964420@gmail.com (ziptee)


#include<stdio.h>
int main(){
    int n;
    scanf("%d",&n);
    int first;
    scanf("%d",&first);
    int ans=0;
    int t=1;
    for (int i=0;i<n-1;i++){
        int temp;
        scanf("%d",&temp);
        if (temp<first){
            t++;
            if (t>ans){
                ans=t;
            }
        }
        else{
            t=1;
        }
        first=temp;
    }
    printf("%d",ans);
    return 0;
}