結果

問題 No.481 1から10
ユーザー megane_ankomegane_anko
提出日時 2021-02-15 11:49:03
言語 TypeScript
(5.4.3)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 9,554 ms
コンパイル使用メモリ 252,768 KB
実行使用メモリ 42,480 KB
最終ジャッジ日時 2023-09-30 05:29:23
合計ジャッジ時間 9,578 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
42,372 KB
testcase_01 AC 68 ms
42,464 KB
testcase_02 AC 68 ms
42,388 KB
testcase_03 AC 67 ms
42,304 KB
testcase_04 AC 65 ms
42,304 KB
testcase_05 AC 67 ms
42,480 KB
testcase_06 AC 68 ms
42,360 KB
testcase_07 AC 69 ms
42,392 KB
testcase_08 AC 69 ms
42,300 KB
testcase_09 AC 67 ms
42,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

const incor = input.split(/[ \n]/);
//const cor = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

for (let i = 1; i <= 10; i++) {
    if (incor.includes(String(i)) === false) {
        console.log(String(i));
    } 
}
0