Exclusive-OR

Limits: 1s, 512 MB

Exclusive-OR (or XOR) is a logical operation, which outputs 1 only when two input bits are different, output 0 otherwise. Here’s the truth table of XOR operation between two bits.


This is a companion discussion topic for the original entry at https://toph.co/p/exclusive-or