Skip to content

Commit f712d59

Browse files
committed
atcoder/abc027A
1 parent 129af12 commit f712d59

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

atcoder/abc027/A/main.cpp

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#include <bits/stdc++.h>
2+
3+
using namespace std;
4+
using ll = int64_t;
5+
using ff = long double;
6+
7+
int main() {
8+
ios_base::sync_with_stdio(false);
9+
cin.tie(0); cout.tie(0);
10+
11+
vector<int> ls(3);
12+
cin >> ls[0] >> ls[1] >> ls[2];
13+
int ans = 0;
14+
if (ls[0] == ls[1]) ans = ls[2];
15+
if (ls[1] == ls[2]) ans = ls[0];
16+
if (ls[2] == ls[0]) ans = ls[1];
17+
cout << ans << endl;
18+
19+
return 0;
20+
}

0 commit comments

Comments
 (0)