結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー ID 21712
提出日時 2024-12-23 10:44:52
言語 TypeScript
(5.7.2)
結果
AC  
実行時間 66 ms / 1,000 ms
コード長 324 bytes
コンパイル時間 8,160 ms
コンパイル使用メモリ 228,908 KB
実行使用メモリ 39,296 KB
最終ジャッジ日時 2025-01-01 00:43:32
合計ジャッジ時間 9,217 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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