結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー DOEtoGuitar
提出日時 2018-06-19 22:09:44
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 56 ms / 1,000 ms
コード長 359 bytes
コンパイル時間 25 ms
コンパイル使用メモリ 6,688 KB
実行使用メモリ 39,296 KB
最終ジャッジ日時 2024-10-13 00:37:34
合計ジャッジ時間 509 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

function main(input) {

  const data = input.split("\n");

  const first_line = data[0];
  const S = data[1];
  const first = first_line.split(' ');
  const A = parseInt(first[0]);
  const B = parseInt(first[1]);
  const N = A + B;
  const result = N + " " + S;
  console.log(result);

}
main(require("fs").readFileSync("/dev/stdin", "utf8"));
0