結果

問題 No.1249 小学校1年生の夢
ユーザー mathiu
提出日時 2021-05-04 21:14:57
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 230 bytes
コンパイル時間 509 ms
コンパイル使用メモリ 56,620 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-23 16:31:59
合計ジャッジ時間 1,471 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(void) {
  int A, B, C;
  string result;

  cin >> A >> B >> C;

  if (A + B == C)
    result = "Correct";
  else
    result = "Incorrect";

  cout << result << endl;

  return 0;
}
0