Hard
Swap With XOR
Read two integers a and b. Swap them without a third variable using XOR:
a ^= b; b ^= a; a ^= b. Print a and b.Input
Two integers on one line.
Output
One line.
Sample 1
Input
3 5
Output
5 3
Sample 2
Input
0 7
Output
7 0
Output appears here