NZEC Error

T = int(input())
for j in range(T):
    n, m= map(int, input().split(' '))
    Array= list(map(int, input().split(' ')))
    a, b = min(Array), max(Array)
    for i in range(n):
        ar.append(max(abs(i-a), abs(i-b)))

Why this is showing NZEC Error on platform IDE but not on replit?

Hey @iitm21f2000143 :wave: ,
Can you provide the link of question as well, without that it’s hard to say anything.