結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー arito_asuarito_asu
提出日時 2020-06-13 20:32:56
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 228 ms
コンパイル使用メモリ 5,280 KB
実行使用メモリ 55,332 KB
最終ジャッジ日時 2023-09-08 03:11:49
合計ジャッジ時間 4,285 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
42,236 KB
testcase_01 AC 77 ms
41,864 KB
testcase_02 AC 75 ms
41,840 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 134 ms
55,332 KB
testcase_10 AC 140 ms
51,348 KB
testcase_11 AC 146 ms
51,784 KB
testcase_12 AC 148 ms
51,500 KB
testcase_13 AC 149 ms
51,828 KB
testcase_14 AC 136 ms
51,764 KB
testcase_15 AC 138 ms
52,068 KB
testcase_16 AC 143 ms
52,624 KB
testcase_17 AC 77 ms
42,172 KB
testcase_18 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    var inp = input.split("\n");
    var sum = 0;
    for(var i = 1; i < inp.length-1; i++) {
        sum = sum + parseInt(inp[i]);
    }
    console.log(sum);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0