結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー kisschan
提出日時 2022-08-11 20:00:40
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 61 ms / 1,000 ms
コード長 449 bytes
コンパイル時間 67 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 39,424 KB
最終ジャッジ日時 2024-09-22 03:57:19
合計ジャッジ時間 599 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

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