結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー kisschankisschan
提出日時 2022-08-11 20:00:40
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 69 ms / 1,000 ms
コード長 449 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 5,152 KB
実行使用メモリ 37,444 KB
最終ジャッジ日時 2023-10-22 02:18:45
合計ジャッジ時間 1,177 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 68 ms
37,444 KB
testcase_01 AC 69 ms
37,444 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    // inputにはすべての入力の文字列が与えられるので必要に応じて input.split("\n") などで分割する。
    var data = input.split("\n")
    
    let firstLine = data[0].split(" ");
    let secondLine = data[1]; 

    let N = parseInt(firstLine[0]) + parseInt(firstLine[1])
    console.log(N + " " + secondLine);
}

// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0