結果

問題 No.687 E869120 and Constructing Array 1
ユーザー Takuya-AmpiTakuya-Ampi
提出日時 2020-03-29 12:00:34
言語 JavaScript
(node v21.7.1)
結果
WA  
実行時間 -
コード長 285 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 44,612 KB
最終ジャッジ日時 2023-09-26 22:56:17
合計ジャッジ時間 3,087 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
42,040 KB
testcase_01 AC 87 ms
42,064 KB
testcase_02 AC 87 ms
42,024 KB
testcase_03 AC 87 ms
42,004 KB
testcase_04 AC 87 ms
41,912 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 90 ms
42,564 KB
testcase_08 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

const reader = require("readline").createInterface({
  input: process.stdin,
  output: process.stdout
});
let lines = [];
reader.on("line", line => {
  lines.push(line);
});
reader.on("close", () => {
  const a1 = 1
  const a2 = parseInt(lines[0]) - 1
  console.log(`${a1} ${a2}`)
});
0