Nzec on CHEFSTEP in python

t=int(input())
for _ in range(t):
    n,k=map(int,input().split())
    ans=''
    for i in range(n):
        x=int(input())
        if x%k==0:
            ans+='1'
        else:
            ans+='0'
    print(ans)

I wrote this solution for Chef and Steps Problem Code: CHEFSTEP, but i got nzec can someone please tell me my mistake?

They changed the input format after 10 minutes, check yourselves on the question page, suffered similar issue

1 Like

this is ridiculous…
:expressionless:

Yeah you are right, got it
Thanks