Here is my code can any please tell me the meaing of “SIGTSTP” error.
problem name id Chef Diet
t = int(input())
for _ in range(t):
N,K = map(int,input().split())
A = list(map(int,input().split()))
remaining = 0
i = 0
while i < N:
if A[i] == K:
remaining = remaining + 0
elif A[i] > K:
remaining += A[i] - K
else:
if A[i] + remaining < K:
break
if i == N-1:
print("YES")
else:
print("NO",i+1)