0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-24 00:28:48 +00:00
OI-codes/Luogu/CF1421A/CF1421A.cpp

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;
}