Last active
June 4, 2017 08:18
-
-
Save Luzhiled/26c5a50f5b299517a5c08bb90b9b6608 to your computer and use it in GitHub Desktop.
ABC063-A
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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