0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-28 07:36:27 +00:00
OI-codes/problem/CF1421A/CF1421A.cpp

14 lines
198 B
C++
Raw Normal View History

2020-10-23 12:15:32 +00:00
#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;
}