結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー 山口太輔山口太輔
提出日時 2020-08-24 12:02:47
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 64 ms / 1,000 ms
コード長 328 bytes
コンパイル時間 127 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 38,912 KB
最終ジャッジ日時 2024-04-24 03:21:05
合計ジャッジ時間 824 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

function Main(input) {
    const foo = input.split(" ");
    const A = parseInt(foo[0]);
    const B = parseInt(foo[1]);
    const hoge = input.split("\n");
    const S = hoge[1];
    const cal = A + B;
    
    console.log(cal + " " + S);
    
}

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