結果
問題 | No.1232 2^x = x |
ユーザー |
![]() |
提出日時 | 2020-09-18 22:59:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 44 ms / 2,000 ms |
コード長 | 161 bytes |
コンパイル時間 | 219 ms |
コンパイル使用メモリ | 82,104 KB |
実行使用メモリ | 61,596 KB |
最終ジャッジ日時 | 2024-06-22 10:15:35 |
合計ジャッジ時間 | 954 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 3 |
ソースコード
import sysdef input():return sys.stdin.buffer.readline()[:-1]for _ in range(int(input())):p = int(input())if p == 2:print(2)else:print((p-1)**2)