結果

問題 No.976 2 の 128 乗と M
コンテスト
ユーザー baan_nasebanaru
提出日時 2020-04-02 21:14:57
言語 JavaScript
(node v26.7.0 + ACL)
コンパイル:
true
実行:
node _filename_ ONLINE_JUDGE
結果
WA  
実行時間 -
コード長 292 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 3 ms
コンパイル使用メモリ 6,528 KB
実行使用メモリ 52,672 KB
最終ジャッジ日時 2026-09-15 07:07:18
合計ジャッジ時間 4,535 ms
ジャッジサーバーID
(参考情報)
judge1_1 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other WA * 50
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

const reader = require("readline").createInterface({
  input: process.stdin,
  output: process.stdout
});
let lines = [];
reader.on("line", line => {
  lines.push(line);
});
reader.on("close", () => {
  let remainder = parseInt(lines,10)
  let ans = (2^128) % remainder
  console.log(ans)
});
0