Hacker News new | ask | show | jobs
by esrauch 5532 days ago
Your solution won't work because you can't solve for a and b if you are given (a xor b) and (a - b), consider an extra 3 and missing 2 will give 1 for both values, as will extra 5 and missing 4.
1 comments

Shit, you are right. I was trying to avoid being a victim of nerd sniping on this one, failed at that.