結果
| 問題 |
No.1232 2^x = x
|
| コンテスト | |
| ユーザー |
👑 Kazun
|
| 提出日時 | 2020-11-14 02:53:37 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 55 ms / 2,000 ms |
| コード長 | 141 bytes |
| コンパイル時間 | 185 ms |
| コンパイル使用メモリ | 82,468 KB |
| 実行使用メモリ | 62,848 KB |
| 最終ジャッジ日時 | 2024-07-22 22:40:47 |
| 合計ジャッジ時間 | 1,028 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 3 |
ソースコード
N=int(input())
X=[-1]*N
for i in range(N):
p=int(input())
if p!=2:
X[i]=(p-1)**2
else:
X[i]=2
print(*X,sep="\n")
Kazun