結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
ID 21712
|
| 提出日時 | 2024-12-23 09:49:36 |
| 言語 | TypeScript (5.7.2) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 1,000 ms |
| コード長 | 407 bytes |
| コンパイル時間 | 8,241 ms |
| コンパイル使用メモリ | 227,748 KB |
| 実行使用メモリ | 39,552 KB |
| 最終ジャッジ日時 | 2024-12-31 17:03:46 |
| 合計ジャッジ時間 | 8,814 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 |
ソースコード
/// <reference types="/home/linuxbrew/.linuxbrew/lib/node_modules/@types/node" />
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'));
ID 21712