What is this error can any one help me to solve this

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
if A[i] + remaining < K:

if i == N-1:

Your code does not increment variable i inside the while-loop.

The continuation condition while i < N: is always true.

Python just had to send SIGTSTP interrupt signal to quit the program execution.

Thanks for the help.