結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー NakamuraNakamura
提出日時 2023-07-01 13:29:08
言語 JavaScript
(node v21.7.1)
結果
AC  
実行時間 77 ms / 1,000 ms
コード長 277 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 42,084 KB
最終ジャッジ日時 2023-09-22 07:24:56
合計ジャッジ時間 1,622 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

const main = input => {
	const lines = input.trim().split('\n');
	const [A, B] = lines[0].split(' ').map(n => Number(n));
	const S = lines[1].trim();
	
	const total = A + B;
	console.log(total, S);
}

const input = require('fs').readFileSync('/dev/stdin', 'utf8');
main(input);
0