Submission #970400


Source Code Expand

Copy
#include <bits/stdc++.h>
using namespace std;
int main(){
int a,b,c;
cin >> a >> b >> c;
if(a == b - c || a == c - b || a == b + c)cout << "Yes" << endl;
else cout << "No" << endl;
return 0;
}

Submission Info

Submission Time
Task A - キャンディーと2人の子供 / Fighting over Candies
User tinumukiti631
Language C++14 (GCC 5.4.1)
Score 100
Code Size 200 Byte
Status
Exec Time 3 ms
Memory 384 KB

Test Cases

Set Name Score / Max Score Test Cases
sample 0 / 0 sample_01.txt, sample_02.txt, sample_03.txt
All 100 / 100 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 3 ms 384 KB
sample_02.txt 2 ms 256 KB
sample_03.txt 2 ms 256 KB
test_01.txt 2 ms 256 KB
test_02.txt 3 ms 256 KB
test_03.txt 3 ms 256 KB
test_04.txt 2 ms 256 KB
test_05.txt 2 ms 256 KB
test_06.txt 3 ms 256 KB
test_07.txt 3 ms 256 KB