Given XOR & SUM of two numbers. How to find the numbers?

前端 未结 0 1091
春和景丽
春和景丽 2020-12-20 03:13

Given XOR & SUM of two numbers. How to find the numbers? For example, x = a+b, y = a^b; if x,y are given, how to get a, b? And if can\'t, give the reason.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题