Submission #1837269
Source Code Expand
#include<iostream> using namespace std; int main(){ int a,b,c; cin >> a>> b>> c; if((a+b)^c == 0 || (b+c)^a == 0|| (a+c)^b ==0) cout << "Yes" << endl; else cout << "No" <<endl; }
Submission Info
Submission Time | |
---|---|
Task | A - Fighting over Candies |
User | cashisu1 |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 200 Byte |
Status | WA |
Exec Time | 1 ms |
Memory | 256 KB |
Judge Result
Set Name | sample | All | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
Score / Max Score | 0 / 0 | 0 / 100 | ||||||||
Status |
|
|
Set Name | Test Cases |
---|---|
sample | sample_01.txt, sample_02.txt, sample_03.txt |
All | sample_01.txt, sample_02.txt, sample_03.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
sample_01.txt | AC | 1 ms | 256 KB |
sample_02.txt | WA | 1 ms | 256 KB |
sample_03.txt | AC | 1 ms | 256 KB |
test_01.txt | WA | 1 ms | 256 KB |
test_02.txt | AC | 1 ms | 256 KB |
test_03.txt | AC | 1 ms | 256 KB |
test_04.txt | WA | 1 ms | 256 KB |
test_05.txt | WA | 1 ms | 256 KB |
test_06.txt | WA | 1 ms | 256 KB |
test_07.txt | AC | 1 ms | 256 KB |