Submission #23108062
Source Code Expand
#include <bits/stdc++.h>
using namespace std;
int main () {
int A, B, C;
cin >> A >> B >> C;
if (A == B) {
cout << C << endl;
}
else if (B == C) {
cout << A << endl;
}
else if (A == C) {
cout << B << endl;
}
else {
cout << 0 << endl;
}
return 0;
}
Submission Info
| Submission Time | |
|---|---|
| Task | A - Chinchirorin |
| User | Awes |
| Language | C++ (GCC 9.2.1) |
| Score | 100 |
| Code Size | 358 Byte |
| Status | AC |
| Exec Time | 10 ms |
| Memory | 3660 KiB |
Judge Result
| Set Name | Sample | All | ||||
|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 100 / 100 | ||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | example_00.txt, example_01.txt, example_02.txt |
| All | example_00.txt, example_01.txt, example_02.txt, test_00.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| example_00.txt | AC | 10 ms | 3660 KiB |
| example_01.txt | AC | 2 ms | 3524 KiB |
| example_02.txt | AC | 3 ms | 3640 KiB |
| test_00.txt | AC | 3 ms | 3436 KiB |
| test_01.txt | AC | 3 ms | 3624 KiB |
| test_02.txt | AC | 2 ms | 3436 KiB |
| test_03.txt | AC | 2 ms | 3524 KiB |
| test_04.txt | AC | 2 ms | 3528 KiB |