結果

問題 No.9001 標準入出力の練習問題(テスト用)
ユーザー ID 21712
提出日時 2024-12-23 09:43:04
言語 TypeScript
(5.7.2)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 342 bytes
コンパイル時間 7,695 ms
コンパイル使用メモリ 228,220 KB
実行使用メモリ 39,552 KB
最終ジャッジ日時 2024-12-31 17:03:36
合計ジャッジ時間 8,237 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

/// <reference types="/home/linuxbrew/.linuxbrew/lib/node_modules/@types/node" />

function main(data: string): void {
	const input = data.trim().split(/\s+/);
	const A = parseInt(input.shift());
	const B = parseInt(input.shift());
	const S = input.shift();
	console.log(A + B, S);
}

main(require('fs').readFileSync('/dev/stdin', 'utf-8'));
0