0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 22:16:27 +00:00
OI-codes/Codeforces/1421/A/A.cpp

14 lines
200 B
C++
Raw Normal View History

2021-11-19 09:01:13 +00:00
#include <bits/stdc++.h>
2020-10-23 12:15:32 +00:00
using namespace std;
int main() {
int t, a, b;
cin >> t;
2021-11-19 09:01:13 +00:00
while (t--) {
2020-10-23 12:15:32 +00:00
cin >> a >> b;
cout << a + b - (a & b) * 2 << endl;
}
return 0;
}