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