結果
| 問題 | No.976 2 の 128 乗と M |
| コンテスト | |
| ユーザー |
keisuke6
|
| 提出日時 | 2022-05-27 20:45:13 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1 ms / 2,000 ms |
| + 373µs | |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 881 ms |
| コンパイル使用メモリ | 178,568 KB |
| 実行使用メモリ | 9,800 KB |
| 最終ジャッジ日時 | 2026-08-31 20:46:04 |
| 合計ジャッジ時間 | 3,185 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 50 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
int now = 1;
int N;
cin>>N;
for(int i=0;i<128;i++) now = (now*2)%N;
cout<<now<<endl;
}
keisuke6