Submission #880779

# Submission time Handle Problem Language Result Execution time Memory
880779 2023-11-30T03:42:39 Z dilshod9890 Money (IZhO17_money) Python 3
0 / 100
15 ms 2924 KB
n = int(input())
a = list(map(int,input().split()))

cnt = 0
for i in range(1,n):
    if not a[i]>a[i-1]:
        cnt+=1
cnt+=1
print(cnt)
# Verdict Execution time Memory Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Incorrect 15 ms 2924 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Incorrect 15 ms 2924 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Incorrect 15 ms 2924 KB Output isn't correct
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Incorrect 15 ms 2924 KB Output isn't correct
3 Halted 0 ms 0 KB -