Showing TLE also not giivng any output

please help me with this

hello @chemant077,
dont convert to int or long long.
simply read two strings. and then iterate on them .if charcter of ith position is different then print 1 otherwise 0

how to do bitwise XOR like 10011 11011 1 ^ 1 and so on

@chemant077
yeah deal with each position separately

how to solve using bitwise??

image

am asking a general case like we have two number 23 and 44 we want to perfrom xor of each ith bit .How to do that?

@chemant077
if a and b is number then result will a^b (in decimal no)

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.