AtCoder Beginner Contest 063
翻译中…
Problem Statement
翻译中…
You are given two integers $A$ and $B$ as the input. Output the value of $A + B$.
翻译中…
However, if $A + B$ is $10$ or greater, output error instead.
翻译中…
Constraints
翻译中…
$A$and$B$are integers.$1 ≤ A, B ≤ 9$
翻译中…
Input
翻译中…
Input is given from Standard Input in the following format:
翻译中…
A B
翻译中…
Output
翻译中…
If $A + B$ is $10$ or greater, print the string error (case-sensitive); otherwise, print the value of $A + B$.
翻译中…
样例
Input #1
6 3
Output #1
9
Input #2
6 4
Output #2
error
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。