Skip to content

Instantly share code, notes, and snippets.

@Luzhiled Luzhiled/ABC063-A.cpp
Last active Jun 4, 2017

Embed
What would you like to do?
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
You can’t perform that action at this time.