Buggy python submission (verdict: Runtime Error):
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
max_result = 0
for i, flag in enumerate(flags):
    if flag == 0:
        if result > max_result:
            max_result = result
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        if result > max_result:
            max_result = result
print(max_result)

Fixed submission:
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
max_result = 0
for i, flag in enumerate(flags):
    if flag == 0:
        if result > max_result:
            max_result = result
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        if result > max_result:
            max_result = result
print(max_result)

Buggy python submission (verdict: Runtime Error):
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
results = []
for i, flag in enumerate(flags):
    if flag == 0:
        results.append(result)
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        results.append(result)
print(np.max(results))

Fixed submission:
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
max_result = 0
for i, flag in enumerate(flags):
    if flag == 0:
        if result > max_result:
            max_result = result
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        if result > max_result:
            max_result = result
print(max_result)

Buggy python submission (verdict: Runtime Error):
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
results = []
for i, flag in enumerate(flags):
    if flag == 0:
        results.append(result)
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        results.append(result)
print(np.max(results))

Fixed submission:
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
max_result = 0
for i, flag in enumerate(flags):
    if flag == 0:
        if result > max_result:
            max_result = result
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        if result > max_result:
            max_result = result
print(max_result)

Buggy python submission (verdict: Runtime Error):
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
results = []
for i, flag in enumerate(flags):
    if flag == 0:
        results.append(result)
        result = 0
    elif flag == 1 and i != len(flags) - 1:
        result += 1
    else:
        result += 1
        results.append(result)
print(max(results))

Fixed submission:
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
max_result = 0
for i, flag in enumerate(flags):
    if flag == 0:
        if result > max_result:
            max_result = result
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        if result > max_result:
            max_result = result
print(max_result)

Buggy python submission (verdict: Runtime Error):
import numpy as np
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
results = []
for i, flag in enumerate(flags):
    if flag == 0:
        results.append(result)
        result = 0
    elif flag == 1 and i != len(flags) - 1:
        result += 1
    else:
        result += 1
        results.append(result)
print(max(results))

Fixed submission:
import numpy as np
N = input()
a = np.array(input().split()).astype(int)
flags = (np.diff(a) <= 0).astype(int)
result = 0
max_result = 0
for i, flag in enumerate(flags):
    if flag == 0:
        if result > max_result:
            max_result = result
        result = 0
    else:
        result += 1
    if i == len(flags) - 1:
        if result > max_result:
            max_result = result
print(max_result)