Why isnt only one test case not passing?

Did i miss some constraint or there is some mistake that only one test case is not passing

Save your code on ide.codingblocks.com and share its link.

@anushreemahur5
Consider a test case:
1 0
0

Expected o/p:
0
0
Your Output:
0
1

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.