Wrong answer for 1 tc

Hey @akshitmehta
Here is the case where you got WA
Q : 1 0
0
A : 0
0

Kindly close the doubt