0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 04:32:00 +00:00
OI-codes/Codeforces/1421/A/A.cpp
2022-09-25 20:39:35 +08:00

14 lines
200 B
C++

#include <bits/stdc++.h>
using namespace std;
int main() {
int t, a, b;
cin >> t;
while (t--) {
cin >> a >> b;
cout << a + b - (a & b) * 2 << endl;
}
return 0;
}