Incorrect answer

sol: https://ide.codingblocks.com/s/382651

https://hack.codingblocks.com/app/contests/1975/798/problem

Im able to reverse the bits but not able to output the sum correctly

Hey @raghav007

could you please explain why it was not working with just int

Read the question input outputformat

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.