why my code is giving wrong ans?
Why my code is giving wrong ans?
hello @rick711c
u need to print output for each test cases in seprate line.
also ther3 is no need of print function directly u can print xor
again it is giving a garbage value . Am i forgetting to initilize something ???
check lin 8
…
…
…
i have to print 00111 but i am printing 111, so i think i should try as string input and check every position
i have change the code …but i think there is some problem
declare ans ins8de while loop
still not working …
check now-<
itni choti choti galti galti kar raha hu…bohot bura lag raha hai
thank u bhayia for your help
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.