結果
問題 | No.1232 2^x = x |
ユーザー | 👑 rin204 |
提出日時 | 2022-02-25 08:03:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 97 ms / 2,000 ms |
コード長 | 126 bytes |
コンパイル時間 | 282 ms |
コンパイル使用メモリ | 87,200 KB |
実行使用メモリ | 76,332 KB |
最終ジャッジ日時 | 2023-09-15 21:52:16 |
合計ジャッジ時間 | 1,454 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge13 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 74 ms
71,180 KB |
testcase_01 | AC | 97 ms
76,292 KB |
testcase_02 | AC | 95 ms
76,332 KB |
testcase_03 | AC | 94 ms
75,916 KB |
ソースコード
n = int(input()) for _ in range(n): p = int(input()) if p == 2: print(2) else: print((p - 1) ** 2)