Created
June 29, 2017 09:12
-
-
Save joaogui1/f9d495ac2b1757db89c14621872d27dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
using namespace std; | |
int main(){ | |
int a, b, c; | |
cin >> a >> b >> c; | |
if(a == b) cout << c << "\n"; | |
else if(a == c) cout << b << "\n"; | |
else cout << a << "\n"; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment