Run ID:95170
提交时间:2024-10-27 09:20:34
i = int(input()) a = list(map(int,input().split())) c = 0 for _ in range(i-1): if a[_]>a[_+1]: c = c + 1 print(c)