Skip to content

Instantly share code, notes, and snippets.

@whatalnk
Last active November 10, 2016 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatalnk/5b7c7e2941437d60be21c9039680aeea to your computer and use it in GitHub Desktop.
Save whatalnk/5b7c7e2941437d60be21c9039680aeea to your computer and use it in GitHub Desktop.
AtCoder ABC #047 [C++]
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b >> c;
if (a + b == c || b + c == a || c + a == b){
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment