結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー ID 21712
提出日時 2024-12-23 10:06:08
言語 TypeScript
(5.7.2)
結果
AC  
実行時間 48 ms / 1,000 ms
コード長 324 bytes
コンパイル時間 12,441 ms
コンパイル使用メモリ 265,836 KB
実行使用メモリ 42,496 KB
最終ジャッジ日時 2025-02-07 09:02:20
合計ジャッジ時間 8,169 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

function main(input: string): void {
	const lines = input.split(/\n/);
	
	const firstLine = lines[0].split(/\s/);
	const A = parseInt(firstLine[0]);
	const B = parseInt(firstLine[1]);
	
	const secondLine = lines[1];
	const S = secondLine;
	
	console.log(A + B, S);
}

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