結果

問題 No.9000 Hello World! (テスト用)
ユーザー taizod
提出日時 2021-10-12 21:30:40
言語 TypeScript
(7.0.2 + ACL)
コンパイル:
tsc.sh -p tsconfig.json
実行:
node main.js ONLINE_JUDGE
結果
WA  
実行時間 -
コード長 863 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 957 ms
コンパイル使用メモリ 193,516 KB
実行使用メモリ 49,088 KB
最終ジャッジ日時 2026-10-10 00:09:51
合計ジャッジ時間 1,968 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge5_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

import * as fs from "fs";  // util for input const lineit = (function* () { for (const line of fs.readFileSync(process.stdin.fd, "utf8").split("\n")) yield line.trim(); })(); const wordit = (function* () { while (true) { let line = lineit.next(); if (line.done) break; for (const word of String(line.value).split(" ")) yield word; } })(); const charit = (function* () { while (true) { let word = wordit.next(); if (word.done) break; for (const char of String(word.value).split("")) yield char; } })(); const readline = () => String((lineit.next()).value); const read = () => String((wordit.next()).value); const readchar = () => String((charit.next()).value);  // main const main = function () {      // param     let s: string;      // init     s = read();      // solve     let ans = "Hello World!";      // answer     console.log(ans);      return;  }; main();
0