---
# System prepended metadata

title: '(UVA10469) To Carry or not to Carry :'
tags: [CPP(CPE)]

---

# (UVA10469) To Carry or not to Carry : 

UVA10469_To_Carry_or_not_to_Carry.cpp

:::info
## 題目
給你num a,b
輸出 Xor(a,b)
:::


```cpp=
#include <bits/stdc++.h>

using namespace std;

int main(){
    int a, b;
    while (cin >> a >> b){
        // Xor
        cout << (a ^ b) << endl;
    }
    return 0;
}
```

![image](https://hackmd.io/_uploads/ryiuD030C.png)
![image](https://hackmd.io/_uploads/BkDYDAn0C.png)
