16 lines
276 B
Plaintext
Raw Normal View History

2024-07-25 12:17:51 +00:00
main() {
2024-07-28 16:47:13 +00:00
assert 0 ^ 0 == 0
assert 0 ^ 1 == 1
assert 1 ^ 0 == 1
assert 1 ^ 1 == 0
assert 1 ^ 2 == 3
assert 1 ^ 3 == 2
assert 2 ^ 0 == 2
assert 2 ^ 1 == 3
assert 2 ^ 2 == 0
assert 2 ^ 3 == 1
assert 3 ^ 0 == 3
assert 3 ^ 1 == 2
assert 3 ^ 2 == 1
assert 3 ^ 3 == 0
2024-07-25 12:17:51 +00:00
}