ABC063A - Restricted
#include <iostream> using namespace std; int main(void) { int a, b; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b; if (a + b >= 10) { cout << "error" << "\n"; } else { cout << a + b << "\n"; } return 0; }
#include <iostream> using namespace std; int main(void) { int a, b; cin.tie(0); ios::sync_with_stdio(false); cin >> a >> b; if (a + b >= 10) { cout << "error" << "\n"; } else { cout << a + b << "\n"; } return 0; }