#41075: 簡單python解


a0984115885@gmail.com (NG_ XiaoHao)

學校 : 不指定學校
編號 : 254777
來源 : [59.126.93.135]
最後登入時間 :
2024-05-21 08:54:14

n=int(input())
a1=list(map(int,input().split()))

total=1
ans=0
for i in range (n-1):
    if(a1[i]>a1[i+1]):
        total+=1
        if(total>ans):
            ans=total
    else:
        total=1
print(ans)