結果
| 問題 |
No.1232 2^x = x
|
| コンテスト | |
| ユーザー |
hanbei_dayo
|
| 提出日時 | 2020-10-01 10:44:26 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 259 bytes |
| コンパイル時間 | 1,496 ms |
| コンパイル使用メモリ | 164,560 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-07 01:11:35 |
| 合計ジャッジ時間 | 1,840 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 3 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#define N (1000000000+7)
//#define N (998244353)
#define INF 1e16
typedef long long ll;
int main(void){
int n;
cin>>n;
while(n--){
ll p;
cin>>p;
cout<<(p-1)*(p-1)<<endl;
}
}
hanbei_dayo