XOR profit problem it bitmasking

why am i getting wrong answer
https://ide.codingblocks.com/s/59723

Updated->
https://ide.codingblocks.com/s/59911