結果
問題 |
No.1232 2^x = x
|
ユーザー |
|
提出日時 | 2021-04-02 12:37:01 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 154 bytes |
コンパイル時間 | 1,838 ms |
コンパイル使用メモリ | 192,876 KB |
最終ジャッジ日時 | 2025-01-20 07:47:36 |
ジャッジサーバーID (参考情報) |
judge5 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | WA * 3 |
ソースコード
#include<bits/stdc++.h> using namespace std; int main(){ int Q;cin>>Q; while(Q--){ int p;cin>>p; cout<<lcm(p,p-1)+1<<endl; } }