Skip to content

Instantly share code, notes, and snippets.

@Luzhiled
Last active June 4, 2017 08:18
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 Luzhiled/26c5a50f5b299517a5c08bb90b9b6608 to your computer and use it in GitHub Desktop.
Save Luzhiled/26c5a50f5b299517a5c08bb90b9b6608 to your computer and use it in GitHub Desktop.
ABC063-A
#include <bits/stdc++.h>
using namespace std;
int main() {
int a, b;
cin >> a >> b;
if (a + b >= 10) {
cout << "error" << endl;
}
else {
cout << a + b<< endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment