No.1249 The Dream of a First Grader
レベル :
/ AI推定難易度 : 75
/ 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 542
作問者 : 👑
Kazun
/ テスター :
Kanten4205
タグ : / 解いたユーザー数 542
作問者 : 👑
Kazun
/ テスター :
問題文最終更新日: 2020-10-02 23:52:22
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 269 (MATHEMATICS 1)
(順位表)
の他の問題:
Problem Statement
You are the homeroom teacher of Class 1 of Grade 1 at Yuki Elementary School, and you are grading an arithmetic test. The test has a problem asking to compute $A+B$. The answer sheet you are about to grade has $C$ written as the answer to this problem. Is this answer correct?
Constraints
- $0 \leq A,B \leq 100$
- $0 \leq C \leq 200$
- All inputs are integers.
Input
The input is given from Standard Input in the following format.$A\ B\ C$
Output
Print Correct if the answer is correct, and Incorrect if it is wrong. Print a newline at the end.
Sample
Sample 1
Input
3 5 8
Output
Correct
Since $3+5=8$, the answer is correct.
Sample 2
Input
4 1 7
Output
Incorrect
Since $4+1=5 \neq 7$, the answer is incorrect.
Sample 3
Input
100 100 200
Output
Correct
According to Japan's national curriculum guidelines, adding two 3-digit numbers should be learned in the 3rd grade, but...
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。