結果
| 問題 |
No.976 2 の 128 乗と M
|
| コンテスト | |
| ユーザー |
baan_nasebanaru
|
| 提出日時 | 2020-04-02 21:14:57 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 292 bytes |
| コンパイル時間 | 152 ms |
| コンパイル使用メモリ | 6,688 KB |
| 実行使用メモリ | 44,208 KB |
| 最終ジャッジ日時 | 2024-10-13 01:40:39 |
| 合計ジャッジ時間 | 5,760 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 3 |
| other | WA * 50 |
ソースコード
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)
});
baan_nasebanaru