結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー kisschankisschan
提出日時 2022-08-11 19:59:10
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 443 bytes
コンパイル時間 65 ms
コンパイル使用メモリ 5,152 KB
実行使用メモリ 37,420 KB
最終ジャッジ日時 2023-10-22 02:17:26
合計ジャッジ時間 2,372 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
権限があれば一括ダウンロードができます

ソースコード

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