結果

問題 No.9000 Hello World! (テスト用)
ユーザー yu0912
提出日時 2020-07-23 01:02:53
言語 JavaScript
(node v25.8.2)
コンパイル:
true
実行:
node _filename_ ONLINE_JUDGE
結果
WA  
実行時間 -
コード長 265 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 3 ms
コンパイル使用メモリ 5,888 KB
実行使用メモリ 48,616 KB
最終ジャッジ日時 2026-07-27 14:39:23
合計ジャッジ時間 2,748 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

const { readFileSync, existsSync } = require("fs");

const main = (input = "") => {
  return "Hello world!";
};

const stdin = "/dev/stdin";

if (existsSync(stdin)) {
  const input = readFileSync(stdin, "utf8");
  console.log(main(input));
}

module.exports = main;
0