結果
問題 | No.1232 2^x = x |
ユーザー | tk |
提出日時 | 2022-04-28 21:36:23 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 157 bytes |
コンパイル時間 | 273 ms |
コンパイル使用メモリ | 86,912 KB |
実行使用メモリ | 76,360 KB |
最終ジャッジ日時 | 2023-09-10 16:51:51 |
合計ジャッジ時間 | 1,291 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
ソースコード
n = int(input()) for i in range(n): p = int(input()) if p == 2: print(2) continue m = 2*(p - 1)*(p + pow(p-1,p-2,p)) print(m)