結果

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

ソースコード

diff #
raw source code

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