結果

問題 No.1217 せしすせそ
ユーザー megane_ankomegane_anko
提出日時 2021-02-18 19:58:56
言語 TypeScript
(5.4.3)
結果
AC  
実行時間 80 ms / 2,000 ms
コード長 309 bytes
コンパイル時間 9,036 ms
コンパイル使用メモリ 253,112 KB
実行使用メモリ 42,324 KB
最終ジャッジ日時 2023-10-13 03:39:06
合計ジャッジ時間 11,477 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
42,156 KB
testcase_01 AC 76 ms
42,044 KB
testcase_02 AC 75 ms
42,132 KB
testcase_03 AC 79 ms
42,324 KB
testcase_04 AC 75 ms
42,076 KB
testcase_05 AC 76 ms
42,136 KB
testcase_06 AC 76 ms
42,148 KB
testcase_07 AC 75 ms
41,928 KB
testcase_08 AC 77 ms
42,168 KB
testcase_09 AC 80 ms
42,200 KB
testcase_10 AC 76 ms
42,200 KB
testcase_11 AC 79 ms
42,060 KB
testcase_12 AC 78 ms
42,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

const abc = ['abcdefghijklmnopqrstuvwxyz'];
const incor = input.split('');
const cor = abc[0].split('');

for (let i = 0;i < cor.length; i++) {
    if (incor[i] !== cor[i]) {
        console.log(`${cor[i]}to${incor[i]}`);
    }
}
0