結果

問題 No.1249 小学校1年生の夢
ユーザー kou_kkk
提出日時 2024-03-27 01:21:12
言語 Nim
(2.2.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 193 bytes
コンパイル時間 3,673 ms
コンパイル使用メモリ 65,280 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-09-30 14:28:47
合計ジャッジ時間 4,106 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

import sequtils, strutils

const
  xs = ["Correct", "Incorrect"]
let
  ns = stdin.readLine.split.map parseInt
  a = ns[0]
  b = ns[1]
  c = ns[2]

if a + b == c:
  echo xs[0]
else:
  echo xs[1]
0