結果

問題 No.1249 小学校1年生の夢
ユーザー megane_ankomegane_anko
提出日時 2021-02-26 23:13:39
言語 TypeScript
(5.2.2)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 298 bytes
コンパイル時間 9,511 ms
コンパイル使用メモリ 251,860 KB
実行使用メモリ 42,288 KB
最終ジャッジ日時 2023-07-25 22:54:27
合計ジャッジ時間 14,657 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 78 ms
42,044 KB
testcase_01 AC 78 ms
42,152 KB
testcase_02 AC 76 ms
42,056 KB
testcase_03 AC 77 ms
42,040 KB
testcase_04 AC 78 ms
42,112 KB
testcase_05 AC 77 ms
41,996 KB
testcase_06 AC 76 ms
42,156 KB
testcase_07 AC 77 ms
42,112 KB
testcase_08 AC 76 ms
41,948 KB
testcase_09 AC 79 ms
41,992 KB
testcase_10 AC 77 ms
42,048 KB
testcase_11 AC 78 ms
42,180 KB
testcase_12 AC 79 ms
42,240 KB
testcase_13 AC 77 ms
41,892 KB
testcase_14 AC 76 ms
42,176 KB
testcase_15 AC 76 ms
42,188 KB
testcase_16 AC 75 ms
42,176 KB
testcase_17 AC 77 ms
41,940 KB
testcase_18 AC 77 ms
41,936 KB
testcase_19 AC 77 ms
42,120 KB
testcase_20 AC 76 ms
42,044 KB
testcase_21 AC 77 ms
42,192 KB
testcase_22 AC 77 ms
42,172 KB
testcase_23 AC 78 ms
42,040 KB
testcase_24 AC 77 ms
42,116 KB
testcase_25 AC 78 ms
42,032 KB
testcase_26 AC 76 ms
41,988 KB
testcase_27 AC 78 ms
42,044 KB
testcase_28 AC 76 ms
42,044 KB
testcase_29 AC 76 ms
42,196 KB
testcase_30 AC 77 ms
42,116 KB
testcase_31 AC 80 ms
42,288 KB
testcase_32 AC 77 ms
42,112 KB
権限があれば一括ダウンロードができます

ソースコード

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