結果

問題 No.494 yukicoder
ユーザー megane_ankomegane_anko
提出日時 2021-02-14 22:32:23
言語 TypeScript
(5.4.3)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 293 bytes
コンパイル時間 10,459 ms
コンパイル使用メモリ 254,576 KB
実行使用メモリ 42,456 KB
最終ジャッジ日時 2023-09-29 16:16:25
合計ジャッジ時間 11,902 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
42,456 KB
testcase_01 AC 61 ms
42,336 KB
testcase_02 AC 64 ms
42,336 KB
testcase_03 AC 67 ms
42,224 KB
testcase_04 AC 65 ms
42,288 KB
testcase_05 AC 71 ms
42,244 KB
testcase_06 AC 68 ms
42,384 KB
testcase_07 AC 67 ms
42,436 KB
testcase_08 AC 64 ms
42,360 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

let incor = input.split('');
let cor = "yukicoder".split('');

for (let i = 0;i < incor.length; i++) {
    if (incor[i] === "?") {
        //また = と === をまちがえた
        console.log(cor[i]);
    }
}
0