結果

問題 No.1249 小学校1年生の夢
ユーザー megane_anko
提出日時 2021-02-26 23:13:39
言語 TypeScript
(5.7.2)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 298 bytes
コンパイル時間 7,819 ms
コンパイル使用メモリ 230,636 KB
実行使用メモリ 41,452 KB
最終ジャッジ日時 2024-12-31 16:29:33
合計ジャッジ時間 10,991 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

import * as fs from 'fs';
const input = fs.readFileSync('/dev/stdin', 'utf8');

const ABCarray = input.split(' ');
let A = parseInt(ABCarray[0]);
let B = parseInt(ABCarray[1]);
let C = parseInt(ABCarray[2]);

if (C === (A + B)) {
    console.log('Correct');
} else {
    console.log('Incorrect');
}
0