結果
問題 | No.1232 2^x = x |
ユーザー | rlangevin |
提出日時 | 2023-01-27 20:29:52 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 106 ms / 2,000 ms |
コード長 | 124 bytes |
コンパイル時間 | 2,168 ms |
コンパイル使用メモリ | 86,660 KB |
実行使用メモリ | 76,208 KB |
最終ジャッジ日時 | 2023-09-10 14:26:20 |
合計ジャッジ時間 | 2,975 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 71 ms
71,020 KB |
testcase_01 | AC | 106 ms
76,124 KB |
testcase_02 | AC | 92 ms
76,128 KB |
testcase_03 | AC | 92 ms
76,208 KB |
ソースコード
N = int(input()) for i in range(N): p = int(input()) if p == 2: print(2) else: print((p - 1)**2)