Why NZEC for this code?
t = int(input())
c = 0
while t:
c = c+1
t = t-1
n = int(input())
if (n==1):
m = int(input())
print("Case {}: {}".format(c,m))
continue
elif (n==0):
print("Case {}: 0".format(c))
continue
m = [int(x) for x in input().split()]
coins = [m[0], max(m[0],m[1])]
for i in range(2,n):
coins.append(0)
for i in range(2, n):
coins[i] = max(m[i] + coins[i-2], coins[i-1])
print("Case {}: {}".format(c,coins[n-1]))