Ultra_fast_mathematician

My code isn’t running for one of the test cases and i am unable to find out where i am wrong cna you please help me out sir
https://ide.codingblocks.com/s/634684 this is my code

for input
1
101010 000010
correct output is
101000
but your output is
001000

Your mistake
you are always printing 0 first and the running loop from i=1
this is not correct

Modified Code

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.