結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー jcm_2jcm_2
提出日時 2023-05-05 01:20:31
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 76 ms / 1,000 ms
コード長 366 bytes
コンパイル時間 138 ms
コンパイル使用メモリ 5,308 KB
実行使用メモリ 42,328 KB
最終ジャッジ日時 2023-08-14 15:58:06
合計ジャッジ時間 1,135 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

function Main(input) {
  // parse input
  const data = input.split("\n");
  const first_line = data[0].split(" ");
  const s = data[1];

  // solve
  const c = solve(parseInt(first_line[0]), parseInt(first_line[1]), s);

  // output
  console.log(c);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));

function solve(a, b, s) {
  return (a + b) + ' ' + s;
}
0