結果
| 問題 |
No.9001 標準入出力の練習問題(テスト用)
|
| ユーザー |
|
| 提出日時 | 2020-07-23 10:15:44 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 360 bytes |
| コンパイル時間 | 57 ms |
| コンパイル使用メモリ | 6,812 KB |
| 実行使用メモリ | 61,696 KB |
| 最終ジャッジ日時 | 2024-06-23 17:23:12 |
| 合計ジャッジ時間 | 2,905 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 2 |
ソースコード
const { readFileSync, existsSync } = require("fs");
const stdin = "/dev/stdin";
function main(input = "") {
if (!input) throw Error;
let data = input.split(" ");
return `${parseInt(data[0]) + parseInt(data[1])} ${data[2]}`;
}
if (existsSync(stdin)) {
const input = readFileSync(stdin, "utf8");
console.log(main(input));
}
module.exports = main;