Bitwise Exclusive XOR
Problem LinkSolution by SaoriKido — 100 pts
Code / Notes
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
cout << (A^B) << endl;
}
Last updated 3 months, 1 week ago
Solution by SaoriKido — 100 pts
#include <bits/stdc++.h>
using namespace std;
int main() {
int A, B;
cin >> A >> B;
cout << (A^B) << endl;
}
Last updated 3 months, 1 week ago