Run ID:95166

提交时间:2024-10-27 09:14:09

i = int(inpput()) a = list(map(int,input().split())) c = 0 for _ in range(i): if a[_]>a[_+1]: c = c + 1 print(c)