結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー intercept6
提出日時 2020-07-02 15:34:39
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 67 ms / 1,000 ms
コード長 441 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 6,812 KB
実行使用メモリ 39,296 KB
最終ジャッジ日時 2024-09-15 01:01:49
合計ジャッジ時間 573 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
  // inputにはすべての入力の文字列が与えられるので必要に応じて input.split("\n") などで分割する。

  var data = input.split("\n")
  
  var first_line = data[0].split(" ")
  var second_line = data[1]
  
  var c = parseInt(first_line[0]) + parseInt(first_line[1])

  console.log(c + " " + second_line);
}

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