結果

問題 No.1499 羊が、何匹だっけ
ユーザー testtest
提出日時 2022-11-21 05:51:04
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 71 ms / 2,000 ms
コード長 314 bytes
コンパイル時間 189 ms
コンパイル使用メモリ 4,832 KB
実行使用メモリ 37,652 KB
最終ジャッジ日時 2023-10-22 00:18:22
合計ジャッジ時間 4,181 ms
ジャッジサーバーID
(参考情報)
judge12 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
37,304 KB
testcase_01 AC 65 ms
37,520 KB
testcase_02 AC 62 ms
37,652 KB
testcase_03 AC 64 ms
37,648 KB
testcase_04 AC 66 ms
37,652 KB
testcase_05 AC 65 ms
37,652 KB
testcase_06 AC 63 ms
37,572 KB
testcase_07 AC 60 ms
37,528 KB
testcase_08 AC 63 ms
37,560 KB
testcase_09 AC 65 ms
37,636 KB
testcase_10 AC 60 ms
37,576 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    const src = input.split("\n");
    const t = parseInt(src[0]);
    for (let i = 1; i <= t; i++) {
        const line = src[i].split(" ");
        const n = parseInt(line[2]) + 1;
        console.log(`Hitsuji ga ${n} hiki`);
    }
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0