結果

問題 No.1232 2^x = x
ユーザー KudeKude
提出日時 2020-09-18 21:48:29
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 90 bytes
コンパイル時間 193 ms
コンパイル使用メモリ 81,824 KB
実行使用メモリ 65,412 KB
最終ジャッジ日時 2024-06-22 09:24:15
合計ジャッジ時間 1,100 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
    p = int(input())
    print((p - 1) ** 2 if p > 2 else 2)
0